Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

Commit

Permalink
Test uploading release asset
Browse files Browse the repository at this point in the history
  • Loading branch information
chaitu236 committed Jun 26, 2020
1 parent d3608cc commit 708ea39
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,17 @@ jobs:
- name: Build with Maven
run: mvn -B package --file pom.xml

- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./target
asset_name: Package.zip
asset_content_type: application/zip

- name: Publish to GitHub Packages Apache Maven
run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml
env:
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<groupId>com.playtak</groupId>
<artifactId>TakServer</artifactId>
<version>0.6.5</version>
<version>0.6.6</version>

<dependencies>

Expand Down

0 comments on commit 708ea39

Please sign in to comment.