Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
chore: use artifact attestations
Browse files Browse the repository at this point in the history
  • Loading branch information
monosans committed Oct 1, 2024
1 parent 5782f09 commit 5f1d584
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ jobs:
runner: macos-14
fail-fast: false
runs-on: ${{ matrix.runner }}
permissions:
id-token: write
contents: read
attestations: write
steps:
- uses: actions/checkout@v4
- run: pipx install poetry
Expand All @@ -39,6 +43,9 @@ jobs:
- run: poetry install --only=main,nuitka --sync --no-root --extras=non-termux --no-interaction
- run: poetry run --no-interaction python -m nuitka --standalone --python-flag='-m' --assume-yes-for-downloads nitro_generator_checker
- run: mv config.toml nitro_generator_checker.dist/
- uses: actions/attest-build-provenance@v1
with:
subject-path: nitro_generator_checker.dist
- uses: actions/upload-artifact@v4
with:
name: artifact-${{ matrix.name }}
Expand Down

0 comments on commit 5f1d584

Please sign in to comment.