Skip to content

Commit

Permalink
ops(release): move Upload step
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesrocket committed Aug 17, 2024
1 parent 47f36f5 commit 0880062
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,6 @@ jobs:
mv zig-out/bin/xtxf xtxf
tar -czvf xtxf-${{ matrix.target}}.tar.gz xtxf
- name: Attest
uses: actions/attest-build-provenance@v1
with:
subject-path: 'xtxf-${{ matrix.target}}.tar.gz'

- name: Upload
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -79,6 +74,11 @@ jobs:
gh release upload ${{ inputs.tag_name }} \
xtxf-${{ matrix.target }}.tar.gz
- name: Attest
uses: actions/attest-build-provenance@v1
with:
subject-path: 'xtxf-${{ matrix.target}}.tar.gz'

- name: Verify attestation
shell: bash
env:
Expand Down Expand Up @@ -119,11 +119,6 @@ jobs:
mv zig-out/bin/xtxf xtxf
tar -czvf xtxf-${{ matrix.target }}.tar.gz xtxf
- name: Attest
uses: actions/attest-build-provenance@v1
with:
subject-path: 'xtxf-${{ matrix.target }}.tar.gz'

- name: Upload
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -132,6 +127,11 @@ jobs:
gh release upload ${{ inputs.tag_name }} \
xtxf-${{ matrix.target }}.tar.gz
- name: Attest
uses: actions/attest-build-provenance@v1
with:
subject-path: 'xtxf-${{ matrix.target }}.tar.gz':w

- name: Verify attestation
shell: bash
env:
Expand Down

0 comments on commit 0880062

Please sign in to comment.