Skip to content

Commit

Permalink
build(Needs bump): Sign publication artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX committed Feb 13, 2024
1 parent bc5c16f commit 98085d1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ jobs:
persist-credentials: false
fetch-depth: 0

- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
fingerprint: ${{ env.GPG_FINGERPRINT }}

- name: Cache Gradle
uses: burrunan/gradle-cache-action@v1

Expand Down
5 changes: 5 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,8 @@ publishing {
}
}
}

signing {
useGpgCmd()
sign(publishing.publications["revanced-patcher-publication"])
}

0 comments on commit 98085d1

Please sign in to comment.