Use $GITHUB_RUN_NUMBER

pull/34/head
probonopd 3 years ago committed by GitHub
parent caad51fda1
commit 7c6ceb9312
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .github/workflows/build.yml

@ -67,7 +67,7 @@ jobs:
echo "usbspeed=full sounddev=sndpwm" > sdcard/cmdline.txt echo "usbspeed=full sounddev=sndpwm" > sdcard/cmdline.txt
cd sdcard cd sdcard
cp ../kernels/* . || true cp ../kernels/* . || true
zip -r ../MiniDexed_$(date +%Y-%m-%d).zip * zip -r ../MiniDexed_$GITHUB_RUN_NUMBER_$(date +%Y-%m-%d).zip *
- name: Upload to GitHub Releases (only when building from main branch) - name: Upload to GitHub Releases (only when building from main branch)
if: ${{ github.ref == 'refs/heads/main' }} if: ${{ github.ref == 'refs/heads/main' }}
run: | run: |

Loading…
Cancel
Save