diff --git a/.github/workflows/build_main.yml b/.github/workflows/build_main.yml index 348c782..2dae58c 100644 --- a/.github/workflows/build_main.yml +++ b/.github/workflows/build_main.yml @@ -33,6 +33,9 @@ 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 @@ -40,7 +43,7 @@ jobs: 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.