Skip to content

Commit 324c94d

Browse files
committed
gh-actions: Upload release with hash and date
Signed-off-by: Daniel Schaefer <dhs@frame.work> (cherry picked from commit a6bb69f)
1 parent cd3f104 commit 324c94d

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,20 @@ jobs:
1515
- name: Build UEFI app (release)
1616
run: make release
1717

18-
- name: Build UEFI app (QEMU)
19-
run: make qemu
18+
- name: Generate artifact version
19+
run: |
20+
echo "VERSIONINFO=$(date -u +'%Y-%m-%d-%H-%M-%S')_$GITHUB_SHA" >> $GITHUB_ENV
2021
22+
# Upload release first to get fast builds from CI
2123
- name: Upload UEFI app (release)
2224
uses: actions/upload-artifact@v6
2325
with:
24-
name: inputmodules.efi
26+
name: inputmodules_release_${{ env.VERSIONINFO }}
2527
path: target/x86_64-unknown-uefi/release/inputmodules.efi
2628

29+
- name: Build UEFI app (QEMU)
30+
run: make qemu
31+
2732
lints:
2833
name: Lints
2934
runs-on: ubuntu-24.04

0 commit comments

Comments
 (0)