From abc98375e7c8a9a03088ee5659cd4ec9bdabddd7 Mon Sep 17 00:00:00 2001 From: Eugene Krivosheev Date: Fri, 24 Sep 2021 23:36:58 +0300 Subject: [PATCH] Fix GitHub publish. --- .github/workflows/maven-publish-package-on-release.yml | 5 ++--- pom.xml | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/maven-publish-package-on-release.yml b/.github/workflows/maven-publish-package-on-release.yml index 37b777e..7d9cbe1 100644 --- a/.github/workflows/maven-publish-package-on-release.yml +++ b/.github/workflows/maven-publish-package-on-release.yml @@ -27,7 +27,7 @@ jobs: restore-keys: | ${{ runner.os }}-maven- - - run: mvn --batch-mode --errors --debug clean verify + - run: mvn --batch-mode --errors --debug clean verify -DskipTests - uses: actions/upload-release-asset@v1.0.2 env: @@ -35,7 +35,6 @@ jobs: with: asset_path: target/dbo-app-*.jar asset_name: dbo-app.jar - tag: ${{ github.ref }} - overwrite: true asset_content_type: application/java-archive + upload_url: ${{ steps.create_release.outputs.upload_url }} diff --git a/pom.xml b/pom.xml index 931259f..df22db2 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.acme.banking dbo-app - 1.0.2 + 1.0.3 jar org.springframework.boot