From d7ea774d71376c60399541f7050d92f38d2c8932 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Tue, 30 Apr 2024 21:36:06 +0800 Subject: [PATCH] CI: fix release script --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6b4934da6..1ff4f4b9f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -64,6 +64,8 @@ jobs: permissions: security-events: write contents: read + outputs: + ffversion: ${{ steps.ffversion.outputs.ffversion }} steps: - name: checkout repository uses: actions/checkout@v4 @@ -111,6 +113,10 @@ jobs: - name: run tests run: ctest + - name: get fastfetch version + id: ffversion + run: echo "ffversion=$(./fastfetch --version-raw)" >> $GITHUB_OUTPUT + - name: upload artifacts uses: actions/upload-artifact@v4 with: