ci: Import GPG key as late as possible

It is not necessary to import it earlier.
This commit is contained in:
oSumAtrIX 2024-02-14 01:59:17 +01:00
parent ceb6fd51c1
commit 687b884dc4
No known key found for this signature in database
GPG key ID: A9B3094ACDB604B4

View file

@ -24,13 +24,6 @@ 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
@ -48,6 +41,13 @@ jobs:
- name: Install dependencies
run: npm install
- 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: Release
env:
GITHUB_TOKEN: ${{ secrets.REPOSITORY_PUSH_ACCESS }}