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 f596a88 commit 1251937
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,17 @@ jobs:
with:
name: Brilliant
path: brilliant.jar
- name: Set outputs
id: vars
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ github.ref }}
release_name: 'Brilliant "${{ github.ref }}"'
release_name: 'Brilliant "${{ steps.vars.outputs.sha_short }}"'
body: |
This is a Auto-Release by GitHub Actions,
Do not use it on production environment.
Expand Down

0 comments on commit 1251937

Please sign in to comment.