Skip to content
This repository has been archived by the owner on May 7, 2023. It is now read-only.

Commit

Permalink
更新 CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
NCT-skyouo authored Jul 9, 2021
1 parent 534ae9f commit f596a88
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,13 @@ jobs:
Do not use it on production environment.
draft: false
prerelease: true
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: ./brilliant.jar
asset_name: brilliant.jar
asset_content_type: application/java-archive

0 comments on commit f596a88

Please sign in to comment.