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