From 517ba00a394f35b97d3f7d233cbc7e2463204111 Mon Sep 17 00:00:00 2001 From: Arnaud Ligny Date: Mon, 3 Feb 2025 17:53:39 +0100 Subject: [PATCH] ci: disable cecil.phar signing temporary --- .github/workflows/release.yml | 50 +++++++++++++++++------------------ 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 21ab06445..e3707a8da 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -93,21 +93,21 @@ 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 arnaud@ligny.fr \ - --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 arnaud@ligny.fr \ + # --batch \ + # --yes \ + # --passphrase="${{ secrets.GPG_PASSPHRASE }}" \ + # --detach-sign \ + # --output dist/cecil.phar.asc \ + # dist/cecil.phar - name: Upload files uses: actions/upload-artifact@v4 @@ -115,7 +115,7 @@ jobs: 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 @@ -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