Skip to content

Commit a3701cf

Browse files
committed
CI: uefi-only: Use m1n1 commit data and linux tag in artifact name
Signed-off-by: Janne Grunau <[email protected]>
1 parent b13dcc1 commit a3701cf

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/installer.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@ jobs:
5555
export RUSTUP_TOOLCHAIN=stable
5656
rustup target install aarch64-unknown-none-softfloat
5757
58+
# env vars to include date and kernel tag in artifact name
59+
- name: Export git info
60+
run: |
61+
echo "GIT_DATE=$(git log -1 --format=%cd --date=format:%Y%m%d)" >> $GITHUB_ENV
62+
echo "KERNEL_REF=$(git --git-dir=linux/.git describe --tags --always)" >> $GITHUB_ENV
63+
5864
- name: Build
5965
run: make -k -j2 ARCH=aarch64-linux-gnu- RELEASE=1
6066

@@ -82,6 +88,6 @@ jobs:
8288
8389
- uses: actions/upload-artifact@v4
8490
with:
85-
name: uefi-only_boot.bin
91+
name: uefi-only-${{ env.GIT_DATE }}-${{ env.KERNEL_REF }}
8692
path: |
8793
uefi-only/out

0 commit comments

Comments
 (0)