Skip to content

Commit

Permalink
Update create-gh-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MYXOMOPX authored Dec 11, 2021
1 parent 728afa2 commit 5451b05
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/create-gh-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@ jobs:
build:
if: github.event.ref_type == 'tag' && startsWith(github.event.ref, 'v')
runs-on: ubuntu-latest
permissions:
contents: read
packages: write


steps:
- uses: actions/checkout@v2
- name: Set up JDK
Expand All @@ -43,7 +40,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v${{ steps.version.outputs.ver }}
tag_name: ${{ github.event.ref }}
release_name: PowerNBT ${{ steps.version.outputs.ver }}
draft: false
prerelease: false
Expand All @@ -55,6 +52,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: /target/PowerNBT.jar
asset_path: target/powernbt.jar
asset_name: PowerNBT.jar
asset_content_type: application/zip

0 comments on commit 5451b05

Please sign in to comment.