Skip to content

Commit

Permalink
Update publish_release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixSFD authored Apr 4, 2020
1 parent 52357ed commit cb99dc9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:

steps:
- uses: actions/checkout@v1
- name: Set env
run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF:10}
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
Expand All @@ -22,7 +24,7 @@ jobs:
uses: svenstaro/upload-release-action@v1-release
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: target/guttenberg-${{ github.ref }}.jar
asset_name: guttenberg.jar
file: target/guttenberg-${{ env.RELEASE_VERSION }}.jar
asset_name: guttenberg-${{ env.RELEASE_VERSION }}.jar
tag: ${{ github.ref }}
overwrite: true

0 comments on commit cb99dc9

Please sign in to comment.