File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,15 +72,24 @@ jobs:
7272 id-token : write
7373 attestations : write
7474 steps :
75+ - uses : actions/download-artifact@v8
76+ if : github.event_name != 'pull_request'
77+ with :
78+ merge-multiple : true
79+
80+ - name : Display structure of downloaded files
81+ if : github.event_name != 'pull_request'
82+ run : ls -R
83+
7584 - name : Generate build provenance attestation
7685 if : github.event_name != 'pull_request'
7786 uses : actions/attest@v4
7887 with :
79- subject-path : ' artifacts/php* '
88+ subject-path : ' php_rar-*.zip '
8089
81- - name : Upload artifacts to the release
82- uses : php/php-windows-builder/release@v1
83- with :
84- release : ${{ github.ref_name }}
85- token : ${{ secrets.GITHUB_TOKEN }}
86- draft : ' true '
90+ - name : Upload all artifacts
91+ if : ${{ startsWith(github.ref, 'refs/tags') }}
92+ env :
93+ GH_TOKEN : ${{ github.token }}
94+ run : |
95+ gh release upload ${{ github.ref_name }} php_rar-*.zip --clobber --repo php-win-ext/rar
You can’t perform that action at this time.
0 commit comments