Skip to content

Commit

Permalink
chore: Upload binaries to release
Browse files Browse the repository at this point in the history
  • Loading branch information
snomiao committed Apr 11, 2021
1 parent 921798f commit b837a4f
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,15 @@ jobs:
with:
args: zip -r CapsLockX-${{ env.RELEASE_VERSION }}.zip Core Data Docs Modules Tools CapsLockX*.* LICENCE README.md SECURITY.md "启动 CapsLockX.lnk"
# 上传
- uses: actions/upload-artifact@v2
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
path: CapsLockX-${{ env.RELEASE_VERSION }}.zip
name: CapsLockX-${{ env.RELEASE_VERSION }}.zip
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: CapsLockX-${{ env.RELEASE_VERSION }}.zip
asset_name: CapsLockX-${{ env.RELEASE_VERSION }}.zip
tag: ${{ github.ref }}
overwrite: true
body: "CapsLockX Package"
# 压缩包和 Docs 一起同步到 gh-pages
- run: mv CapsLockX-${{ env.RELEASE_VERSION }}.zip Docs/CapsLockX-${{ env.RELEASE_VERSION }}.zip
- name: Deploy
Expand Down

0 comments on commit b837a4f

Please sign in to comment.