Skip to content

Commit

Permalink
Try something else
Browse files Browse the repository at this point in the history
  • Loading branch information
aleks-p committed Nov 27, 2024
1 parent 1b56593 commit 9c12d9d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,17 @@ jobs:
NEXUS_GPG_PASSWORD=publishing:nexus_gpg_key_id
NEXUS_GPG_SECRING_FILE_BASE64=publishing:nexus_gpg_secring_file
- name: Decode GPG Keyring
- name: Prepare GPG Keyring
id: prepare_gpg_keyring
run: |
mkdir -p ${{ github.workspace }}/gpg
echo "$NEXUS_GPG_SECRING_FILE_BASE64" | base64 -d > ${{ github.workspace }}/gpg/secring.gpg
chmod 600 ${{ github.workspace }}/gpg/secring.gpg
export NEXUS_GPG_SECRING_FILE=${{ github.workspace }}/gpg/secring.gpg
echo "keyring_path=${{ github.workspace }}/gpg/secring.gpg" >> $GITHUB_OUTPUT
- name: Build and Publish
run: |
export NEXUS_GPG_SECRING_FILE=${{ steps.prepare_gpg_keyring.outputs.keyring_path }}
make publish
- name: Commit and Push Changes
Expand Down

0 comments on commit 9c12d9d

Please sign in to comment.