Skip to content

Commit

Permalink
ci: Import GPG key as late as possible
Browse files Browse the repository at this point in the history
It is not necessary to import it earlier.
  • Loading branch information
oSumAtrIX committed Feb 14, 2024
1 parent ceb6fd5 commit 687b884
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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 }}
Expand Down

0 comments on commit 687b884

Please sign in to comment.