-
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
1 parent
abdc785
commit a01998c
Showing
10 changed files
with
86 additions
and
19 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,19 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: maven | ||
directory: "/java" | ||
schedule: | ||
interval: weekly | ||
day: "friday" | ||
assignees: | ||
- "javiertuya" | ||
open-pull-requests-limit: 20 | ||
|
||
- package-ecosystem: github-actions | ||
directory: "/" | ||
schedule: | ||
interval: weekly | ||
day: "friday" | ||
open-pull-requests-limit: 20 | ||
assignees: | ||
- "javiertuya" |
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,42 @@ | ||
name: Publish to Maven and NuGet | ||
on: | ||
release: | ||
types: [created] | ||
jobs: | ||
release-java: | ||
#if: ${{ false }} # disable for now | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout GitHub repo | ||
uses: actions/checkout@v3 | ||
|
||
#Official documentation seems incomplete. To avoid failure when importing key: | ||
#https://stackoverflow.com/questions/61096521/how-to-use-gpg-key-in-github-actions | ||
#It requires export the private key with the armor option: gpg --output private.pgm --armor --export-secret-key <email> | ||
- name: Import GPG Key | ||
uses: crazy-max/[email protected] | ||
with: | ||
gpg_private_key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} | ||
passphrase: ${{ secrets.MAVEN_GPG_PASSPHRASE }} | ||
|
||
# uncomment to activate publish | ||
# - name: Set up Apache Maven Central | ||
# uses: actions/setup-java@v3 | ||
# with: # running setup-java again overwrites the settings.xml | ||
# distribution: 'temurin' | ||
# java-version: '8' | ||
# server-id: ossrh # Value of the distributionManagement/repository/id field of the pom.xml | ||
# server-username: MAVEN_USERNAME # env variable for username in deploy | ||
# server-password: MAVEN_CENTRAL_TOKEN # env variable for token in deploy | ||
# gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import | ||
# gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase | ||
|
||
# uncomment to activate publish | ||
# - name: Publish to Apache Maven Central | ||
# run: mvn deploy -P publish-maven -DskipTests=true -Dmaven.test.failure.ignore=true -U --no-transfer-progress | ||
# env: | ||
# MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} | ||
# MAVEN_CENTRAL_TOKEN: ${{ secrets.MAVEN_CENTRAL_TOKEN }} | ||
# MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }} | ||
|
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 |
---|---|---|
@@ -1,8 +1,7 @@ | ||
target | ||
pom.xml.versionsBackup | ||
TESTS-TestSuites.xml | ||
*/dat/out | ||
*.db | ||
#para que cada uno personalice su sonarlint | ||
*/dat/out | ||
# to allow each developer customize sonarlint | ||
org.sonarlint.eclipse.core.prefs | ||
|
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