Skip to content

Commit

Permalink
Rename, reformat, use short SHA for artifact name
Browse files Browse the repository at this point in the history
  • Loading branch information
webhdx committed Aug 7, 2024
1 parent d987d32 commit da2304a
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit da2304a

Please sign in to comment.