Skip to content

Commit

Permalink
Chore: 优化脚本
Browse files Browse the repository at this point in the history
  • Loading branch information
OHeroJ committed Aug 6, 2023
1 parent b74df52 commit 5e4ffb4
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,15 @@ jobs:
mv .build/x86_64-unknown-linux-gnu/release/App ./
chmod +x ./App
- name: 收集产物
run: |
zip -r $ZIP_FILE_NAME App Public Resources
- name: 保存编译的包
- name: 保存产物
uses: actions/upload-artifact@v2
with:
name: vapor-app-artifact
path: |
App
Public
Resources
- name: 收集产物
run: |
zip -r $ZIP_FILE_NAME App Public Resources
path: $ZIP_FILE_NAME

- name: 上传产物
uses: appleboy/scp-action@v0.1.4
Expand Down

0 comments on commit 5e4ffb4

Please sign in to comment.