Skip to content

Commit

Permalink
Merge pull request #2943 from phpDocumentor/debug-phar-sign
Browse files Browse the repository at this point in the history
FIx release flow
  • Loading branch information
jaapio committed Jul 3, 2021
2 parents 31f2093 + 1ad0bf1 commit 6aa61ff
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,21 @@ jobs:
uses: phpDocumentor/phar-ga@latest
with:
args: box compile
- name: list keys
uses: phpDocumentor/phar-ga@latest
env:
PASSPHRASE: ${{ secrets.PASSPHRASE }}
SECRET_KEY: ${{ secrets.SECRET_KEY }}
with:
args: gpg --list-secret-keys
- name: sign phar
uses: phpDocumentor/phar-ga@latest
env:
PASSPHRASE: ${{ secrets.PASSPHRASE }}
SECRET_KEY: ${{ secrets.SECRET_KEY }}
with:
args: gpg --command-fd 0 --pinentry-mode loopback -u info@phpdoc.org --batch
--detach-sign --output build/phpDocumentor.phar.asc build/phpDocumentor.phar
- name: Upload PHAR file
uses: actions/upload-artifact@v2.2.4
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
on:
release:
types: [published]
name: Release workflow
name: Release
jobs:
composer:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
Expand Down

0 comments on commit 6aa61ff

Please sign in to comment.