From c20c9185d09cfe0211d43292174a796334919615 Mon Sep 17 00:00:00 2001 From: zyr17 Date: Tue, 13 Feb 2024 15:32:47 +0800 Subject: [PATCH] update ci --- .github/workflows/linux.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 243bc9a..1faff5e 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -54,7 +54,16 @@ jobs: # path: MajsoulPaipuAnalyzer-linux-x64.7z # - name: fake artifact # run: mv result.html MajsoulPaipuAnalyzer-linux-x64.7z + - uses: actions/upload-artifact@v2 + with: + name: MajsoulPaipuAnalyzer-win-x64.7z + path: MajsoulPaipuAnalyzer-win-x64.7z + - uses: actions/upload-artifact@v2 + with: + name: PaipuAnalyzer.exe + path: bin/debug/PaipuAnalyzer.exe - name: Upload to release + if: github.event_name != 'workflow_dispatch' run: | cp .github/asset.js . node asset.js ${{ secrets.ACCESS_TOKEN }} $GITHUB_EVENT_PATH $GITHUB_REPOSITORY MajsoulPaipuAnalyzer-linux-x64.7z application/octet_stream \ No newline at end of file