-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
58 additions
and
35 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,5 @@ updates: | |
directory: "/" | ||
schedule: | ||
interval: monthly | ||
labels: | ||
- github_actions |
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 |
---|---|---|
|
@@ -15,7 +15,6 @@ on: | |
default: '0.0.0' | ||
|
||
jobs: | ||
|
||
waitOld: | ||
name: Wait For Older Runs To Complete | ||
runs-on: ubuntu-latest | ||
|
@@ -54,10 +53,30 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
# Drafts your next Release notes as Pull Requests are merged into "master" | ||
- uses: release-drafter/release-drafter@v5.23.0 | ||
- uses: release-drafter/release-drafter@v5.24.0 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
dependency-tree: | ||
name: Maven Dependency Tree | ||
if: github.event_name == 'push' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up JDK 11 | ||
uses: actions/[email protected] | ||
with: | ||
distribution: zulu | ||
java-version: 11 | ||
cache: maven | ||
- name: Restore Local Maven Cache | ||
uses: actions/[email protected] | ||
with: | ||
path: ~/.m2 | ||
key: ${{runner.os}}-m2 | ||
- name: Submit Dependency Snapshot | ||
uses: advanced-security/maven-dependency-submission-action@v3 | ||
|
||
getVersion: | ||
name: Get package version | ||
runs-on: ubuntu-latest | ||
|
@@ -135,7 +154,7 @@ jobs: | |
- name: Test Reporting | ||
if: always() && github.actor != 'dependabot[bot]' | ||
id: test-report | ||
uses: phoenix-actions/test-reporting@v10 | ||
uses: phoenix-actions/test-reporting@v12 | ||
with: | ||
name: ${{matrix.module-name}} Test Results | ||
path: '**/junitreports/TEST-**.xml' | ||
|
@@ -256,18 +275,18 @@ jobs: | |
[ "ossrh", "release", "gpg" ] | ||
- name: Import GPG key | ||
id: import_gpg | ||
uses: crazy-max/ghaction-import-gpg@v5.2.0 | ||
uses: crazy-max/ghaction-import-gpg@v5.3.0 | ||
with: | ||
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} | ||
passphrase: ${{ secrets.GPG_PASSPHRASE }} | ||
- name: Deploy Release v${{ needs.getVersion.outputs.buildNumber }} to OSSRH | ||
run: mvn -Drevision=${{ needs.getVersion.outputs.buildNumber }} deploy | ||
run: mvn -B -e -Drevision=${{ needs.getVersion.outputs.buildNumber }} deploy | ||
- name: Publish GitHub release v${{ needs.getVersion.outputs.buildNumber }} | ||
uses: actions/github-script@v6 | ||
with: | ||
github-token: ${{secrets.GITHUB_TOKEN}} | ||
script: | | ||
const result = await github.repos.listReleases({ | ||
const result = await github.rest.repos.listReleases({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo | ||
}) | ||
|
@@ -276,7 +295,7 @@ jobs: | |
for(var key in data){ | ||
if(data[key].tag_name == "v${{ needs.getVersion.outputs.buildNumber }}" && data[key].draft == true) | ||
{ | ||
github.repos.updateRelease({ | ||
github.rest.repos.updateRelease({ | ||
release_id: data[key].id, | ||
"draft": false, | ||
owner: context.repo.owner, | ||
|
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
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
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
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
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
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