diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 20ca9e8..c819939 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,7 +22,7 @@ jobs: - name: Apply patches run: | # Put git hash in startup message - sed -i "s/Loading.../$(git rev-parse --short=7 HEAD)/g" src/userinterface.cpp + sed -i "s/Loading.../$(date +%Y%m%d)-$(git rev-parse --short HEAD)/g" src/userinterface.cpp # https://github.com/rsta2/circle/discussions/427#discussioncomment-11198505 sed -i -e 's|TTLShort = 120|TTLShort = 15|g' circle-stdlib/libs/circle/include/circle/net/mdnspublisher.h - name: Install toolchains @@ -91,7 +91,7 @@ jobs: git clone https://github.com/Banana71/Soundplantage --depth 1 # depth 1 means only the latest commit cp -r ./Soundplantage/performance ./Soundplantage/*.pdf ./sdcard/ cd sdcard - zip -r ../MiniDexed_$GITHUB_RUN_NUMBER_$(date +%Y-%m-%d)-$(git rev-parse --short HEAD).zip * + zip -r ../MiniDexed_$GITHUB_RUN_NUMBER_$(date +%Y%m%d)-$(git rev-parse --short HEAD).zip * echo "artifactName=MiniDexed_$GITHUB_RUN_NUMBER_$(date +%Y-%m-%d)-$(git rev-parse --short HEAD)" >> $GITHUB_ENV cd - - uses: actions/upload-artifact@v3