Skip to content

Commit

Permalink
修改编译脚本
Browse files Browse the repository at this point in the history
  • Loading branch information
CppCXY committed Mar 14, 2022
1 parent 66b64de commit 17bde0b
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.platform }}
path: ${{ github.workspace }}/artifact/
path: ${{ github.workspace }}/artifact/bin

upload-release:
name: Upload Release
Expand All @@ -71,7 +71,32 @@ jobs:
- name: Download
uses: actions/download-artifact@v2
- name: Display structure of downloaded files
run: ls -R
run: ls -R
- name: zip win32-x64
uses: TheDoctor0/[email protected]
with:
filename: win32-x64.zip
path: win32-x64
- name: zip win32-x86
uses: TheDoctor0/[email protected]
with:
filename: win32-x86.zip
path: win32-x86
- name: zip linux-x64
uses: TheDoctor0/[email protected]
with:
filename: linux-x64.zip
path: linux-x64
- name: zip darwin-x64
uses: TheDoctor0/[email protected]
with:
filename: darwin-x64.zip
path: darwin-x64
- name: zip darwin-arm64
uses: TheDoctor0/[email protected]
with:
filename: darwin-arm64.zip
path: darwin-arm64
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
Expand Down

0 comments on commit 17bde0b

Please sign in to comment.