From 2c8c9397a25b7e90a9150b9b58ac0716a06a6376 Mon Sep 17 00:00:00 2001 From: qianlifeng Date: Fri, 3 Nov 2023 20:59:49 +0800 Subject: [PATCH] Update github workflow --- .github/workflows/build.yml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fc15b98a3..43ccc5c3b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,9 +12,27 @@ jobs: - uses: actions/checkout@v3 - name: Build run: just release darwin + - name: Deploy nightly release + uses: WebFreak001/deploy-nightly@v3.0.0 + with: + upload_url: https://uploads.github.com/repos/Wox-launcher/Wox/releases/127182165/assets{?name,label} + release_id: 127182165 + asset_path: ./Release/wox-mac-amd64 # path to archive to upload + asset_name: wox-mac-amd64-$$ # name to upload the release as, use $$ to insert date (YYYYMMDD) and 6 letter commit hash + asset_content_type: application/vnd.microsoft.portable-executable # required by GitHub API + max_releases: 3 build-windows: runs-on: [ self-hosted, Windows ] steps: - uses: actions/checkout@v3 - name: Build - run: just release windows \ No newline at end of file + run: just release windows + - name: Deploy nightly release + uses: WebFreak001/deploy-nightly@v3.0.0 + with: + upload_url: https://uploads.github.com/repos/Wox-launcher/Wox/releases/127182165/assets{?name,label} + release_id: 127182165 + asset_path: ./Release/wox-windows-amd64.exe # path to archive to upload + asset_name: wox-windows-amd64-$$.exe # name to upload the release as, use $$ to insert date (YYYYMMDD) and 6 letter commit hash + asset_content_type: application/vnd.microsoft.portable-executable # required by GitHub API + max_releases: 3 \ No newline at end of file