From 324c94dacff9638d96d96ae15f63dfa810d1ac11 Mon Sep 17 00:00:00 2001 From: Daniel Schaefer Date: Mon, 22 Dec 2025 13:58:49 +0800 Subject: [PATCH] gh-actions: Upload release with hash and date Signed-off-by: Daniel Schaefer (cherry picked from commit a6bb69fde5b7ec07b59c147afb61349a6ed8e6a4) --- .github/workflows/ci.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index be28486..c50fe72 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,15 +15,20 @@ jobs: - name: Build UEFI app (release) run: make release - - name: Build UEFI app (QEMU) - run: make qemu + - name: Generate artifact version + run: | + echo "VERSIONINFO=$(date -u +'%Y-%m-%d-%H-%M-%S')_$GITHUB_SHA" >> $GITHUB_ENV + # Upload release first to get fast builds from CI - name: Upload UEFI app (release) uses: actions/upload-artifact@v6 with: - name: inputmodules.efi + name: inputmodules_release_${{ env.VERSIONINFO }} path: target/x86_64-unknown-uefi/release/inputmodules.efi + - name: Build UEFI app (QEMU) + run: make qemu + lints: name: Lints runs-on: ubuntu-24.04