From da2304a61cf20812c9d6680578a7b166d4aec8af Mon Sep 17 00:00:00 2001 From: Maciej Kobus Date: Wed, 7 Aug 2024 20:03:53 +0000 Subject: [PATCH] Rename, reformat, use short SHA for artifact name --- .github/workflows/{10_build.yml => 10-build.yml} | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) rename .github/workflows/{10_build.yml => 10-build.yml} (90%) diff --git a/.github/workflows/10_build.yml b/.github/workflows/10-build.yml similarity index 90% rename from .github/workflows/10_build.yml rename to .github/workflows/10-build.yml index 0e70206..a42a392 100644 --- a/.github/workflows/10_build.yml +++ b/.github/workflows/10-build.yml @@ -22,6 +22,10 @@ jobs: rm -rf "${{ github.workspace }}" mkdir -p "${{ github.workspace }}" + - name: Set outputs + id: vars + run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT + - name: Login to GitHub Container Registry uses: docker/login-action@v3 with: @@ -64,7 +68,7 @@ jobs: - name: Upload artifacts uses: actions/upload-artifact@v4 with: - name: picoboot-${{ github.sha }} + name: picoboot-${{ steps.vars.outputs.sha_short }} path: | picoboot_full.uf2 picoboot.uf2