Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
PssbleTrngle committed Oct 1, 2022
1 parent 2375e37 commit 37a91fb
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,10 @@ jobs:
run: ./gradlew build

- name: Upload to github releases
if: ${{ github.event_name == 'release' }}
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v1
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: build/libs/create_jetpack-${{ github.event.release.tag_name }}.jar
asset_name: create_jetpack-${{ github.event.release.tag_name }}.jar
asset_content_type: application/java-archive
files: build/libs/create_jetpack-${{ github.event.release.tag_name }}.jar

- name: publish to github packages
run: ./gradlew publish
Expand Down

0 comments on commit 37a91fb

Please sign in to comment.