You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-08-09 10:22:46 +03:00
This reverts commit 634651859b
.
This commit is contained in:
committed by
GitHub
parent
64e27f5d3c
commit
a179227bf1
17
.github/workflows/release-make.yml
vendored
17
.github/workflows/release-make.yml
vendored
@@ -58,18 +58,11 @@ jobs:
|
||||
- name: Load GPG key
|
||||
id: gpg
|
||||
if: inputs.gpg-fingerprint
|
||||
env:
|
||||
PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
|
||||
PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
|
||||
FINGERPRINT: ${{ inputs.gpg-fingerprint }}
|
||||
run: |
|
||||
# Import the private key from the GH secrets
|
||||
echo "$PRIVATE_KEY" | gpg --import --batch --passphrase "$PASSPHRASE" -
|
||||
# For debugging, show the contents of the keyring
|
||||
gpg --list-keys --list-options show-unusable-subkeys=yes --with-subkey-fingerprint $FINGERPRINT
|
||||
# Extract the email address
|
||||
EMAIL=$(gpg --list-keys --with-colons $FINGERPRINT | head -n1 | awk -F: '$1=="uid" {match($10, /<([^>]+)>/, a); print a[1]}')
|
||||
echo "email=$EMAIL" >> $GITHUB_OUTPUT
|
||||
uses: crazy-max/ghaction-import-gpg@e89d40939c28e39f97cf32126055eeae86ba74ec # v6
|
||||
with:
|
||||
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
|
||||
passphrase: ${{ secrets.GPG_PASSPHRASE }}
|
||||
fingerprint: ${{ inputs.gpg-fingerprint }}
|
||||
|
||||
- name: Get draft release
|
||||
id: draft-release
|
||||
|
Reference in New Issue
Block a user