Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@ jobs:

runs-on: ubuntu-latest

permissions:
contents: read
id-token: write
attestations: write

Comment thread
KSXGitHub marked this conversation as resolved.
strategy:
fail-fast: true
matrix:
Expand All @@ -90,6 +95,11 @@ jobs:
- name: Strip all debug symbols
run: strip --strip-all target/${{ matrix.target }}/release/pdu

- name: Attest build provenance
uses: actions/attest-build-provenance@v2
with:
subject-path: target/${{ matrix.target }}/release/pdu

- name: Upload build artifact
uses: actions/upload-artifact@v7
with:
Expand All @@ -101,6 +111,11 @@ jobs:

runs-on: macos-latest

permissions:
contents: read
id-token: write
attestations: write

Comment thread
KSXGitHub marked this conversation as resolved.
strategy:
fail-fast: true
matrix:
Expand All @@ -126,6 +141,11 @@ jobs:
- name: Strip all debug symbols
run: strip target/${{ matrix.target }}/release/pdu

- name: Attest build provenance
uses: actions/attest-build-provenance@v2
with:
subject-path: target/${{ matrix.target }}/release/pdu

- name: Upload build artifact
uses: actions/upload-artifact@v7
with:
Expand All @@ -137,6 +157,11 @@ jobs:

runs-on: windows-latest

permissions:
contents: read
id-token: write
attestations: write

Comment thread
KSXGitHub marked this conversation as resolved.
strategy:
fail-fast: true
matrix:
Expand All @@ -161,6 +186,11 @@ jobs:
- name: Build
run: cargo build --target ${{ matrix.target }} --release --all-features

- name: Attest build provenance
uses: actions/attest-build-provenance@v2
with:
subject-path: target/${{ matrix.target }}/release/pdu.exe

- name: Upload build artifact
uses: actions/upload-artifact@v7
with:
Expand Down