Skip to content

Commit 42bc37e

Browse files
authored
Update CI build workflow permissions and environment variables
1 parent f121a03 commit 42bc37e

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/ci-build.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,21 @@ on:
66
pull_request:
77
branches: [ main ]
88

9-
env:
10-
productNamespacePrefix: "ReactiveUI"
11-
9+
# Needed so the reusable workflow can optionally delete the temp per-OS artifacts it creates.
1210
permissions:
1311
contents: read
12+
actions: write
13+
14+
env:
15+
productNamespacePrefix: "ReactiveUI"
1416

1517
jobs:
1618
build:
17-
permissions:
18-
contents: none
1919
uses: reactiveui/actions-common/.github/workflows/workflow-common-setup-and-build.yml@main
2020
with:
2121
configuration: Release
2222
productNamespacePrefix: "ReactiveUI"
2323
solutionFile: "reactiveui.sln"
24+
installWorkloads: true
25+
secrets:
26+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)