-
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.
Jar signing, II Maven publish action
- Loading branch information
1 parent
47a0a19
commit 009ac4d
Showing
4 changed files
with
98 additions
and
8 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,47 @@ | ||
name: Build Project | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'master' | ||
pull_request: | ||
branches: | ||
- 'master' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
name: Create a Dev Build | ||
env: | ||
GITHUB_USERNAME: ${{ github.actor }} | ||
GITHUB_TOKEN: ${{ secrets.OPTIMIZATION_TOKEN }} | ||
JAVA_VERSION: 8 | ||
SIGN_KEYSTORE: ~/keystore.jks | ||
SIGN_ALIAS: ${{secrets.SIGN_ALIAS}} | ||
SIGN_STOREPASS: ${{secrets.SIGN_STOREPASS}} | ||
SIGN_KEYPASS: ${{secrets.SIGN_STOREPASS}} | ||
SIGN_TIMESTAMP: ${{secrets.SIGN_TIMESTAMP}} | ||
iiMavenReleasesUsername: ${{secrets.IIMAVENRELEASESUSERNAME}} | ||
iiMavenReleasesPassword: ${{secrets.IIMAVENRELEASESPASSWORD}} | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Java | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: corretto | ||
java-version: 8 | ||
|
||
- name: Setup Gradle | ||
uses: gradle/gradle-build-action@v3 | ||
|
||
- name: Decode Keystore | ||
id: decode_keystore | ||
uses: timheuer/base64-to-file@v1 | ||
with: | ||
fileName: '~/keystore.jks' | ||
encodedString: ${{ secrets.SIGN_KEYSTORE }} | ||
|
||
- name: Execute Gradle publish | ||
run: chmod +x gradlew ; ./gradlew publish --scan |
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,4 +32,8 @@ bin/ | |
.vscode/ | ||
|
||
### Mac OS ### | ||
.DS_Store | ||
.DS_Store | ||
|
||
cert/* | ||
|
||
custom.gradle |
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,7 @@ | ||
iiMavenReleasesUsername= | ||
iiMavenReleasesPassword= | ||
timestamp_url= | ||
ksalias= | ||
keystore= | ||
storepass= | ||
keypass= |