diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 8a68ef0ac..4a9fa9a5c 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -10,3 +10,8 @@ updates: schedule: interval: "daily" + # Maintain dependencies for GitHub Actions + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" \ No newline at end of file diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 5eb5cb049..262863abc 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -15,6 +15,16 @@ jobs: runs-on: ubuntu-latest steps: + - + name: Import GPG key + id: import_gpg + uses: crazy-max/ghaction-import-gpg@v3 + with: + gpg-private-key: ${{ secrets.GPG_SIGNING_KEY }} + passphrase: ${{ secrets.GPG_PASS_PHRASE }} + git-user-signingkey: true + git-commit-gpgsign: true + - uses: actions/checkout@v2 - name: Set up JDK 1.8 uses: actions/setup-java@v1 @@ -25,8 +35,8 @@ jobs: server-id: ossrh # Value of the distributionManagement/repository/id field of the pom.xml server-username: OSSRH_USERNAME # env variable for username in deploy server-password: OSSRH_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 + gpg-private-key: ${{ secrets.GPG_SIGNING_KEY }} # Value of the GPG private key to import + gpg-passphrase: ${{ secrets.GPG_PASS_PHRASE }} # env variable for GPG private key passphrase - name: Build with Maven