Skip to content

Commit ddbaaac

Browse files
authored
Update build.yml
1 parent 6d38f4a commit ddbaaac

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,13 @@ on:
55
branches:
66
- main
77

8+
permissions:
9+
contents: read
10+
811
jobs:
912
build:
1013
name: Build All Projects
11-
runs-on: ubuntu-latest
14+
runs-on: ubuntu-latest
1215

1316
strategy:
1417
fail-fast: false
@@ -30,4 +33,4 @@ jobs:
3033
run: dotnet restore ${{ matrix.project }}
3134

3235
- name: Build project
33-
run: dotnet build ${{ matrix.project }} --no-restore --configuration Release
36+
run: dotnet build ${{ matrix.project }} --no-restore --configuration Release

0 commit comments

Comments
 (0)