Skip to content

Commit

Permalink
v1.2.19
Browse files Browse the repository at this point in the history
- fix workflow post build script / version number
  • Loading branch information
genemars committed Jun 6, 2024
1 parent d409d4d commit 34ee2cb
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/platformio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v2
- name: Set env
run: |
echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
echo "VERSION_NUMBER=$(echo ${GITHUB_REF#refs/*/} | cut -d"v" -f 2)" >> $GITHUB_ENV
echo VERSION_NUMBER=$VERSION_NUMBER
- uses: actions/cache@v3
with:
path: |
Expand All @@ -15,17 +21,13 @@ jobs:
with:
python-version: '3.9'

- name: Set env
run: |
echo "export RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
echo "export VERSION_NUMBER=$(echo ${GITHUB_REF#refs/*/} | cut -d"v" -f 2)" >> $GITHUB_ENV
- name: Install PlatformIO Core
run: pip install --upgrade platformio

- name: Build PlatformIO Project
run: |
pio run
echo VERSION_NUMBER=$VERSION_NUMBER
bash ./.github/post-build.sh
- name: Release
Expand Down

0 comments on commit 34ee2cb

Please sign in to comment.