Skip to content

Commit

Permalink
fixing build_date
Browse files Browse the repository at this point in the history
  • Loading branch information
mteiting committed Sep 21, 2023
1 parent b6c7300 commit d4e2ab0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@ jobs:
- name: Build PlatformIO Project
run: platformio run

- run: echo "{BUILD_DATE}={$(date +'%Y%m%d%H%M%S')}" >> $GITHUB_ENV
- run: echo "build_date={$(date +'%Y%m%d%H%M%S')}" >> $GITHUB_OUTPUT
id: get_date

- uses: actions/upload-artifact@v3
with:
name: frimware-$BUILD_DATE
name: frimware-${{ steps.get_date.outputs.build_date }}
path: |
.pio/build/nodemcu-32s/firmware.bin

0 comments on commit d4e2ab0

Please sign in to comment.