Skip to content

Commit

Permalink
v1.2.20
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 34ee2cb commit ada8af1
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/platformio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- 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 @@ -27,6 +21,8 @@ jobs:
- name: Build PlatformIO Project
run: |
pio run
export RELEASE_VERSION=${GITHUB_REF#refs/*/}
export VERSION_NUMBER=$RELEASE_VERSION
echo VERSION_NUMBER=$VERSION_NUMBER
bash ./.github/post-build.sh
Expand Down

0 comments on commit ada8af1

Please sign in to comment.