Pass id-token

This commit is contained in:
Eelco Dolstra 2024-01-11 17:55:33 +01:00
parent 5249aeeabd
commit eb14f4bded

View file

@ -35,6 +35,9 @@ jobs:
run-x86_64-linux: run-x86_64-linux:
name: Run x86_64 Linux name: Run x86_64 Linux
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
permissions:
id-token: "write"
contents: "read"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Install Nix - name: Install Nix
@ -52,6 +55,9 @@ jobs:
run-x86_64-darwin: run-x86_64-darwin:
name: Run x86_64 Darwin name: Run x86_64 Darwin
runs-on: macos-12 runs-on: macos-12
permissions:
id-token: "write"
contents: "read"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Install Nix - name: Install Nix
@ -70,6 +76,9 @@ jobs:
name: Run aarch64 Darwin name: Run aarch64 Darwin
concurrency: build-ARM64-macOS concurrency: build-ARM64-macOS
runs-on: macos-latest-xlarge runs-on: macos-latest-xlarge
permissions:
id-token: "write"
contents: "read"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Install Nix - name: Install Nix