Skip to content

Commit

Permalink
Use default for branch/tag name
Browse files Browse the repository at this point in the history
  • Loading branch information
netmindz committed Apr 18, 2024
1 parent 52c5ed2 commit b902f09
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/pio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,13 @@ jobs:
id: vars
run: |
git_hash=$(git rev-parse --short "$GITHUB_SHA")
git_branch=${GITHUB_REF#refs/heads/}
echo "git_hash=${git_hash}" >> $GITHUB_ENV
echo "git_branch=${git_branch}" >> $GITHUB_ENV
- name: Build PlatformIO Project
run: pio run
- name: 'Upload Artifact'
uses: actions/upload-artifact@v3
with:
name: StarMod-esp32-${{env.git_branch}}-${{env.git_hash}}.bin
name: StarMod-esp32-${{env.GITHUB_REF_NAME}}-${{env.git_hash}}.bin
path: .pio/build/esp32dev/firmware.bin
retention-days: 30

Expand Down

0 comments on commit b902f09

Please sign in to comment.