Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lunzhiPenxil authored Jan 12, 2022
1 parent bfdf26c commit d6f30ba
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,17 @@ jobs:
cd ./dist/windows
mkdir ./OlivOS-Win
cp ./main.exe ./OlivOS-Win/OlivOS.exe
- uses: actions/upload-artifact@v2
- name: Packing OlivOS-Win
uses: actions/upload-artifact@v2
with:
name: OlivOS-Win-pack
name: OlivOS-Win
path: ./dist/windows/OlivOS-Win
- uses: actions/upload-artifact@v2
with:
name: OlivOS-Win-bin
path: ./dist/windows/OlivOS-Win/OlivOS.exe
- name: Ready for Packing
run: |
mkdir ./dist/windows/OlivOS-Win/lib
curl -L https://github.com/Mrs4s/go-cqhttp/releases/latest/download/go-cqhttp_windows_amd64.exe -o ./dist/windows/OlivOS-Win/lib/go-cqhttp.exe
- uses: actions/upload-artifact@v2
- name: Packing OlivOS-Win-with-lib
uses: actions/upload-artifact@v2
with:
name: OlivOS-Win-pack-with-lib
name: OlivOS-Win-with-lib
path: ./dist/windows/OlivOS-Win

0 comments on commit d6f30ba

Please sign in to comment.