Commit 8f3e2d26 by Edward Thomson

ci: allow workflows to read and write packages

Our CI workflows consume and will automatically generate their build
containers. Ensure that they can do so.
parent b4e84a76
...@@ -10,9 +10,10 @@ permissions: ...@@ -10,9 +10,10 @@ permissions:
contents: read contents: read
jobs: jobs:
# Run our nightly builds. We build a matrix with the various build # Run our benchmarks. We build a matrix with the various build
# targets and their details. Then we build either in a docker container # targets and their details. Unlike our CI builds, we run these
# (Linux) or on the actual hosts (macOS, Windows). # directly on the VM instead of in containers since we do not
# need the breadth of platform diversity.
build: build:
# Only run scheduled workflows on the main repository; prevents people # Only run scheduled workflows on the main repository; prevents people
# from using build minutes on their forks. # from using build minutes on their forks.
......
...@@ -15,6 +15,7 @@ env: ...@@ -15,6 +15,7 @@ env:
permissions: permissions:
contents: read contents: read
packages: write
jobs: jobs:
containers: containers:
......
...@@ -12,6 +12,7 @@ env: ...@@ -12,6 +12,7 @@ env:
permissions: permissions:
contents: read contents: read
packages: write
jobs: jobs:
# Run our nightly builds. We build a matrix with the various build # Run our nightly builds. We build a matrix with the various build
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment