-
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.
Added action for create GitHub release
- Loading branch information
1 parent
e9dce13
commit 742fb0a
Showing
2 changed files
with
31 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Create Github Release | ||
on: push | ||
jobs: | ||
build: | ||
name: Create Github Release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 17 | ||
- name: Setup variables in local.properties | ||
run: | | ||
echo "signing_keyId=${{secrets.SIGNING_KEY_ID}}" > local.properties | ||
echo "signing_password=${{secrets.SIGNING_PASSWORD}}" >> local.properties | ||
echo "username=${{secrets.MAVEN_CENTRAL_USER_NAME}}" >> local.properties | ||
echo "password=${{secrets.MAVEN_CENTRAL_PASSWORD}}" >> local.properties | ||
- name: Setup gpg private key | ||
run: | | ||
echo "${{secrets.GPG_PRIVATE_KEY}}" > maven-secret-key.asc | ||
- uses: pipe-cd/[email protected] | ||
with: | ||
release_file: '**/RELEASE' | ||
token: ${{ secrets.GITHUB_TOKEN }} |
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,5 @@ | ||
tag: v1.0.4 | ||
|
||
commitExclude: | ||
prefixes: | ||
- "Merge pull request #" |