Skip to content

Commit

Permalink
Fix GitHub publish.
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugene Krivosheev committed Sep 24, 2021
1 parent 612ce85 commit abc9837
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/maven-publish-package-on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,14 @@ 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/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
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 }}

2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.acme.banking</groupId>
<artifactId>dbo-app</artifactId>
<version>1.0.2</version>
<version>1.0.3</version>
<packaging>jar</packaging>
<parent>
<groupId>org.springframework.boot</groupId>
Expand Down

0 comments on commit abc9837

Please sign in to comment.