Skip to content
This repository has been archived by the owner on Aug 10, 2024. It is now read-only.

Commit

Permalink
troubleshooting actions
Browse files Browse the repository at this point in the history
  • Loading branch information
aliig committed Nov 30, 2023
1 parent 836a2eb commit 9c202ec
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ jobs:
- name: Encryption
run: |
if [ -z "${{ secrets.CURSEFORGE_API_KEY }}" ]; then
echo "CURSEFORGE_API_KEY is not set."
else
API_KEY="${{ secrets.CURSEFORGE_API_KEY }}"
echo "Length of CURSEFORGE_API_KEY: ${#API_KEY}"
fi
echo "PASSPHRASE=$(openssl rand -base64 32)" >> $GITHUB_ENV
python src/crypto_script.py --mode encrypt --input "${{ secrets.CURSEFORGE_API_KEY }}" --output encrypted_key.enc --passphrase "${{ env.PASSPHRASE }}"
echo "${{ env.PASSPHRASE }}" > passphrase.txt
Expand Down

0 comments on commit 9c202ec

Please sign in to comment.