Skip to content

Commit

Permalink
Github Action: 临时上传构建物
Browse files Browse the repository at this point in the history
  • Loading branch information
dudiao committed Dec 18, 2023
1 parent b21fd8e commit 754070e
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/linux_mac_native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,18 @@ jobs:
type: 'zip'
path: 'neutrino-proxy-client-${{ env.VERSION }}'
filename: neutrino-proxy-client-${{ env.OS }}-${{ env.VERSION }}.zip
# 上传构建产物
- name: Upload artifact
uses: actions/[email protected]
with:
name: neutrino-proxy-server-client-${{ env.OS }}-${{ env.VERSION }}
path: |
neutrino-proxy-server/target/neutrino-proxy-server.jar
neutrino-proxy-client/target/neutrino-proxy-client.jar
neutrino-proxy-server-${{ env.OS }}-${{ env.VERSION }}.zip
neutrino-proxy-client-${{ env.OS }}-${{ env.VERSION }}.zip
# 保存时间,默认 90 天
retention-days: 5
# GitHub 上创建 release
- name: Release
uses: softprops/action-gh-release@v1
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/windows-native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,18 @@ jobs:
type: 'zip'
path: 'neutrino-proxy-client.exe'
filename: neutrino-proxy-client-${{ env.OS }}-${{ env.VERSION }}.zip
# 上传构建产物
- name: Upload artifact
uses: actions/[email protected]
with:
name: neutrino-proxy-server-client-${{ env.OS }}-${{ env.VERSION }}
path: |
neutrino-proxy-server/target/neutrino-proxy-server.jar
neutrino-proxy-client/target/neutrino-proxy-client.jar
neutrino-proxy-server-${{ env.OS }}-${{ env.VERSION }}.zip
neutrino-proxy-client-${{ env.OS }}-${{ env.VERSION }}.zip
# 保存时间,默认 90 天
retention-days: 5
# GitHub 上创建 release
- name: Release
uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit 754070e

Please sign in to comment.