Skip to content

Commit

Permalink
prepare key command changed
Browse files Browse the repository at this point in the history
  • Loading branch information
anidotnet committed Jan 4, 2024
1 parent 1f004b5 commit 5acb37e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
5 changes: 0 additions & 5 deletions .ci/prepare-keys.sh

This file was deleted.

5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@ jobs:

- name: Prepare PGP Keys
run: |
chmod +x ./.ci/prepare-keys.sh
./.ci/prepare-keys.sh
openssl aes-256-cbc -pass pass:"$PGP_KEY_PASSWORD" -in "$GITHUB_WORKSPACE"/.ci/secring.gpg.enc -out "$GITHUB_WORKSPACE"/secring.gpg -d -md md5
mkdir -p "$HOME"/.gnupg
cp "$GITHUB_WORKSPACE"/secring.gpg "$HOME"/.gnupg/secring.gpg
shell: bash
env:
PGP_KEY_PASSWORD: ${{ secrets.PGP_KEY_PASSWORD }}
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@ jobs:

- name: Prepare PGP Keys
run: |
chmod +x ./.ci/prepare-keys.sh
./.ci/prepare-keys.sh
openssl aes-256-cbc -pass pass:"$PGP_KEY_PASSWORD" -in "$GITHUB_WORKSPACE"/.ci/secring.gpg.enc -out "$GITHUB_WORKSPACE"/secring.gpg -d -md md5
mkdir -p "$HOME"/.gnupg
cp "$GITHUB_WORKSPACE"/secring.gpg "$HOME"/.gnupg/secring.gpg
shell: bash
env:
PGP_KEY_PASSWORD: ${{ secrets.PGP_KEY_PASSWORD }}
Expand Down

0 comments on commit 5acb37e

Please sign in to comment.