-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: prepare for 1.4.4 * feat: Add workflow --------- Co-authored-by: unknowIfGuestInDream <[email protected]>
- Loading branch information
1 parent
e23fbfb
commit 0f70cc1
Showing
13 changed files
with
187 additions
and
56 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,11 +32,11 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Merge pull requests | ||
uses: pascalgn/[email protected].5 | ||
uses: pascalgn/[email protected].6 | ||
env: | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
MERGE_LABELS: "automerge,!work in progress" | ||
MERGE_METHOD: "squash" | ||
MERGE_COMMIT_MESSAGE: "pull-request-title" | ||
MERGE_RETRIES: "10" | ||
MERGE_RETRY_SLEEP: "60000" | ||
MERGE_RETRY_SLEEP: "60000" |
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 |
---|---|---|
|
@@ -9,14 +9,14 @@ jobs: | |
generate-changelog: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- uses: BobAnkh/[email protected].3 | ||
with: | ||
ACCESS_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
PATH: 'CHANGELOG.md' | ||
COMMIT_MESSAGE: 'docs(changelog): update release notes' | ||
TYPE: 'feat:Feature,fix:Bug Fixes,refactor:Refactor,perf:Performance Improvements' | ||
PULL_REQUEST: 'master' | ||
BRANCH: 'changelog' | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- uses: BobAnkh/[email protected].5 | ||
with: | ||
ACCESS_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
PATH: 'CHANGELOG.md' | ||
COMMIT_MESSAGE: 'docs(changelog): Update release notes' | ||
TYPE: 'feat:Feature,fix:Bug Fixes,refactor:Refactor,perf:Performance Improvements' | ||
PULL_REQUEST: 'master' | ||
BRANCH: 'changelog' |
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Maven Central Repo Deployment | ||
# 触发脚本的事件 这里为发布release之后触发 | ||
on: | ||
workflow_dispatch: | ||
release: | ||
types: [ released ] | ||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Git Repo | ||
uses: actions/checkout@v2 | ||
- name: Set up Maven Central Repo | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 11 | ||
- name: Set up Apache Maven Central | ||
uses: actions/setup-java@v1 | ||
with: # running setup-java again overwrites the settings.xml | ||
java-version: 11 | ||
server-id: sonatype-nexus-snapshots # Value of the distributionManagement/repository/id field of the pom.xml | ||
server-username: MAVEN_USERNAME | ||
server-password: MAVEN_CENTRAL_TOKEN | ||
gpg-passphrase: MAVEN_GPG_PASSPHRASE | ||
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} | ||
- name: Publish to Apache Maven Central | ||
run: mvn clean deploy -P release | ||
env: | ||
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} | ||
MAVEN_CENTRAL_TOKEN: ${{ secrets.OSSRH_TOKEN }} | ||
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSWORD }} |
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
Oops, something went wrong.