From 75570a87685050f348fd6517929f1df16464e159 Mon Sep 17 00:00:00 2001 From: Eugene Krivosheev Date: Sat, 25 Sep 2021 00:15:21 +0300 Subject: [PATCH] Fix GitHub publish. --- .github/workflows/maven-publish-package-on-release.yml | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven-publish-package-on-release.yml b/.github/workflows/maven-publish-package-on-release.yml index 46788e5..9918e34 100644 --- a/.github/workflows/maven-publish-package-on-release.yml +++ b/.github/workflows/maven-publish-package-on-release.yml @@ -33,7 +33,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - upload_url: "https://uploads.github.com/repos/eugene-krivosheyev/agile-practices-application/releases/${{ github.ref }}/assets{?name,label}" + upload_url: ${{ github.event.release.upload_url }} asset_path: target/dbo-app.jar asset_name: dbo-app.jar asset_content_type: application/java-archive diff --git a/pom.xml b/pom.xml index bb7b260..ccdb07d 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.acme.banking dbo-app - 1.0.8 + 1.0.9 jar org.springframework.boot