-
Notifications
You must be signed in to change notification settings - Fork 5
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
4 changed files
with
25 additions
and
17 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 |
---|---|---|
|
@@ -16,6 +16,15 @@ jobs: | |
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
# Install the GPG secret key | ||
- name: Import GPG Key | ||
run: | | ||
echo "${{ secrets.GPG_PUBLIC_KEY }}" | gpg --import | ||
echo "${{ secrets.GPG_SECRET_KEY }}" | gpg --import --no-tty --batch --yes | ||
env: | ||
GPG_PUBLIC_KEY: ${{ secrets.GPG_PUBLIC_KEY }} | ||
GPG_SECRET_KEY: ${{ secrets.GPG_SECRET_KEY }} | ||
|
||
# Setup the jdk using version 11 of Adoptium Temurin | ||
- name: Setup java 11 using Adoptium Temurin | ||
uses: actions/setup-java@v4 | ||
|
@@ -25,7 +34,7 @@ jobs: | |
server-id: ossrh | ||
server-username: MAVEN_USERNAME | ||
server-password: MAVEN_PASSWORD | ||
gpg-private-key: ${{ secrets.GPG_SIGNING_KEY }} | ||
gpg-private-key: ${{ secrets.GPG_SECRET_KEY }} | ||
gpg-passphrase: MAVEN_GPG_PASSPHRASE | ||
|
||
# Setup postgis test DB | ||
|
@@ -44,12 +53,6 @@ jobs: | |
git config user.email "[email protected]" | ||
git config user.name OrbisGIS | ||
#Install the GPG secret key | ||
- name: Install gpg secret key | ||
run: | | ||
cat <(echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY }}") | gpg --batch --import | ||
gpg --list-secret-keys --keyid-format LONG | ||
# Test build | ||
- name: Build test | ||
run: mvn -ntp clean validate compile test javadoc:test-javadoc javadoc:jar | ||
|
@@ -72,7 +75,7 @@ jobs: | |
env: | ||
MAVEN_USERNAME: ${{ secrets.MVN_CENTRAL_USERNAME }} | ||
MAVEN_PASSWORD: ${{ secrets.MVN_CENTRAL_PASSWORD }} | ||
MAVEN_GPG_PASSPHRASE: ${{ secrets.OSSRH_GPG_PASSWORD }} | ||
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} | ||
|
||
# Export the last git tag into env. | ||
- name: Export env values | ||
|
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 |
---|---|---|
|
@@ -610,7 +610,7 @@ | |
<connection>scm:git:https://github.com/orbisgis/orbisdata.git</connection> | ||
<developerConnection>scm:git:https://github.com/orbisgis/orbisdata.git</developerConnection> | ||
<url>[email protected]:orbisgis/orbisdata.git</url> | ||
<tag>HEAD</tag> | ||
<tag>HEAD</tag> | ||
</scm> | ||
|
||
<repositories> | ||
|