Skip to content

Commit

Permalink
ci: Create automatic github release (#12)
Browse files Browse the repository at this point in the history
Closes #3
  • Loading branch information
petertrr authored Feb 1, 2022
1 parent e60f81c commit 2ac1848
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,22 @@ jobs:
arguments: |
publishToSonatype
-PsonatypeUsername=${{ secrets.SONATYPE_USER }}
-PsonatypePassword=${{ secrets.SONATYPE_PASSWORD }}
-PsonatypePassword=${{ secrets.SONATYPE_PASSWORD }}
- name: Create Github Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
- name: Upload release assets
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: build/libs/save-adapters-*-all.jar
tag: ${{ github.ref }}
overwrite: true
file_glob: true

0 comments on commit 2ac1848

Please sign in to comment.