From 69da42ed00b0f63da11510031976ddd71c6b3cfd Mon Sep 17 00:00:00 2001 From: yanghuanglin Date: Fri, 21 Nov 2025 13:55:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=97=B6=E6=8C=87=E5=AE=9A?= =?UTF-8?q?=E9=99=84=E4=BB=B6=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/BuildLauncher.yml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/.github/workflows/BuildLauncher.yml b/.github/workflows/BuildLauncher.yml index e099989..00886d4 100644 --- a/.github/workflows/BuildLauncher.yml +++ b/.github/workflows/BuildLauncher.yml @@ -5,16 +5,27 @@ jobs: build-launcher: runs-on: ubuntu-24.04 steps: - - name: checkout + - id: checkout + name: checkout uses: actions/checkout@v4 - - name: build launcher + - id: build + name: build launcher run: | chmod a+x ./bin/* chmod a+x build-launcher.sh ./build-launcher.sh -l -c - - name: upload + - id: get-filename + name: get zip filename + run: | + ZIP_FILE=$(ls build-output/*.zip) + echo "zip_file=$ZIP_FILE" >> $GITHUB_OUTPUT + echo "artifact_name=$(basename $ZIP_FILE)" >> $GITHUB_OUTPUT + + - id: upload + name: upload uses: https://github.com/christopherHX/gitea-upload-artifact@v4 with: - path: build-output/*.zip \ No newline at end of file + name: ${{ steps.get-filename.outputs.artifact_name }} + path: ${{ steps.get-filename.outputs.zip_file }} \ No newline at end of file