-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update workflows and dependabot config
- Loading branch information
1 parent
a850845
commit 96e1576
Showing
3 changed files
with
21 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ jobs: | |
update_release_draft: | ||
name: Update release draft | ||
runs-on: ubuntu-latest | ||
if: ${{ ! contains(github.event.head_commit.message, '[maven-release-plugin] prepare release') }} | ||
steps: | ||
- name: Update Release Draft | ||
uses: release-drafter/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
name: Upload release artifact | ||
|
||
on: | ||
release: | ||
types: [ released ] | ||
push: | ||
tags: | ||
- '*' | ||
|
||
env: | ||
ARTIFACT_ID: rest-list-parameter | ||
|
@@ -12,6 +13,14 @@ jobs: | |
name: Build and upload artifact | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Update Release Draft | ||
uses: release-drafter/[email protected] | ||
id: release-drafter | ||
with: | ||
publish: true | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up JDK 11 | ||
|
@@ -48,7 +57,7 @@ jobs: | |
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ github.event.release.upload_url }} | ||
upload_url: ${{ steps.release-drafter.outputs.upload_url }} | ||
asset_path: ./${{ steps.set-variables.outputs.asset-path }} | ||
asset_name: ${{ steps.set-variables.outputs.asset-name }} | ||
asset_content_type: application/java-archive |