From 708ea3951f61a019db081fac3cd0823ab5b152c0 Mon Sep 17 00:00:00 2001 From: Chaitanya Vadrevu Date: Thu, 25 Jun 2020 22:32:01 -0500 Subject: [PATCH] Test uploading release asset --- .github/workflows/maven-publish.yml | 11 +++++++++++ pom.xml | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index ee4187a..85a3553 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -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: diff --git a/pom.xml b/pom.xml index 7d59e56..37aec19 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ com.playtak TakServer -0.6.5 +0.6.6