Skip to content

Commit

Permalink
ci: disable cecil.phar signing temporary
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudLigny committed Feb 3, 2025
1 parent 11c66d0 commit 517ba00
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,29 +93,29 @@ jobs:
run: |
echo "shasum=$(shasum -a 256 ./dist/cecil.phar | awk '{printf $1}')" >> $GITHUB_OUTPUT
- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}

- name: Sign cecil.phar with GPG
run: |
gpg --local-user [email protected] \
--batch \
--yes \
--passphrase="${{ secrets.GPG_PASSPHRASE }}" \
--detach-sign \
--output dist/cecil.phar.asc \
dist/cecil.phar
#- name: Import GPG key # to sign cecil.phar
# uses: crazy-max/ghaction-import-gpg@v6
# with:
# gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
# passphrase: ${{ secrets.GPG_PASSPHRASE }}

#- name: Sign cecil.phar with GPG # for GitHub release verification by PHIVE users
# run: |
# gpg --local-user [email protected] \
# --batch \
# --yes \
# --passphrase="${{ secrets.GPG_PASSPHRASE }}" \
# --detach-sign \
# --output dist/cecil.phar.asc \
# dist/cecil.phar

- name: Upload files
uses: actions/upload-artifact@v4
with:
name: cecil_phar
path: |
dist/cecil.phar
dist/cecil.phar.asc
# dist/cecil.phar.asc
if-no-files-found: error

deploy_to_github: # GitHub release
Expand Down Expand Up @@ -146,15 +146,15 @@ jobs:
asset_name: cecil.phar
asset_content_type: application/octet-stream

- name: Add cecil.phar.asc to release
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.release.outputs.upload_url }}
asset_path: cecil.phar.asc
asset_name: cecil.phar.asc
asset_content_type: application/octet-stream
#- name: Add cecil.phar.asc to release
# uses: actions/upload-release-asset@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# upload_url: ${{ steps.release.outputs.upload_url }}
# asset_path: cecil.phar.asc
# asset_name: cecil.phar.asc
# asset_content_type: application/octet-stream

- name: Generate changelog
id: changelog
Expand Down

0 comments on commit 517ba00

Please sign in to comment.