Skip to content

Commit 8a27a0c

Browse files
Merge pull request #184 from BenjaminMichaelis/FixBuildForPullRequestSv8.0
Update Build Checkout If you checkout on v8.0 only then it will only checkout v8.0 to test, not the branch trying to be pulled in.
2 parents 9571fac + 6f88dba commit 8a27a0c

2 files changed

Lines changed: 12 additions & 10 deletions

File tree

.github/workflows/Branch v8.0 - Linux.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,18 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v2
16-
with:
17-
ref: v8.0
1816
- name: Setup .NET
1917
uses: actions/setup-dotnet@v1
2018
with:
2119
dotnet-version: 3.1.x
22-
- name: Get Directory
23-
run: pwd
20+
- name: Get Build Information
21+
run: |
22+
pwd
23+
dotnet --info
24+
dotnet --version
2425
- name: Restore dependencies
2526
run: dotnet restore
2627
- name: Build
2728
run: dotnet build --no-restore
2829
- name: Test
29-
run: dotnet test --no-build --verbosity normal
30+
run: dotnet test --no-build --verbosity normal

.github/workflows/Branch v8.0 - Windows.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,18 @@ jobs:
1313
runs-on: windows-latest
1414
steps:
1515
- uses: actions/checkout@v2
16-
with:
17-
ref: v8.0
1816
- name: Setup .NET
1917
uses: actions/setup-dotnet@v1
2018
with:
2119
dotnet-version: 3.1.x
22-
- name: Get Directory
23-
run: pwd
20+
- name: Get Build Information
21+
run: |
22+
pwd
23+
dotnet --info
24+
dotnet --version
2425
- name: Restore dependencies
2526
run: dotnet restore
2627
- name: Build
2728
run: dotnet build --no-restore
2829
- name: Test
29-
run: dotnet test --no-build --verbosity normal
30+
run: dotnet test --no-build --verbosity normal

0 commit comments

Comments
 (0)