Skip to content

Commit

Permalink
ci: fix release
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudLigny committed Feb 22, 2025
1 parent 3ff25eb commit 8ebed1a
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,7 @@ jobs:
- name: Build `cecil.phar` binary
run: composer run-script build

- name: Verify the `cecil.phar` binary
env:
GH_TOKEN: ${{ github.token }}
run: gh attestation verify dist/cecil.phar --repo ${{ github.repository }}

- name: Test `cecil.phar`
- name: Check `cecil.phar`
run: |
cd dist
mkdir skeleton
Expand All @@ -89,7 +84,7 @@ jobs:
php cecil.phar show:content skeleton
rm -rf skeleton
- name: Test `cecil.phar` in debug mode
- name: Check `cecil.phar` in debug mode
env:
CECIL_DEBUG: 'true'
run: |
Expand Down Expand Up @@ -123,11 +118,15 @@ jobs:
dist/cecil.phar
- name: Generate build provenance attestation
if: github.event_name != 'pull_request'
uses: actions/attest-build-provenance@v2
with:
subject-path: dist/cecil.phar

- name: Verify the `cecil.phar` binary
env:
GH_TOKEN: ${{ github.token }}
run: gh attestation verify dist/cecil.phar --repo ${{ github.repository }}

- name: Upload files
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 8ebed1a

Please sign in to comment.