Skip to content

Commit

Permalink
Serial build
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisDyallo committed May 6, 2024
1 parent 44c1d4e commit 0666a5c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-pull-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,23 @@ on:
- '**.sln'
- '.github/workflows/build-pull-requests.yml'
- '**.yml'
-

permissions:
pull-requests: write
checks: write
contents: read
packages: read

jobs:
test:
run-tests:
name: Run tests
uses: ./.github/workflows/test.yml

build:
name: Build
runs-on: windows-latest
needs: run-tests

steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ permissions:
packages: write

jobs:
test:
run-tests:
permissions:
pull-requests: write
checks: write
Expand All @@ -57,6 +57,8 @@ jobs:
build:
name: Build, save artefacts
runs-on: windows-2019
needs: run-tests

steps:
# Checkout the local repository
- uses: actions/checkout@v4
Expand Down

0 comments on commit 0666a5c

Please sign in to comment.