Skip to content

Commit 8b0e119

Browse files
committed
update workflows to always upload test results/not fail when one fails/use new sdk version
1 parent 217f7f2 commit 8b0e119

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

.github/workflows/build.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ jobs:
66
build:
77

88
strategy:
9+
fail-fast: false
910
matrix:
1011
os: [windows-latest, macos-latest, ubuntu-latest]
11-
dotnet: [3.1.201] # TODO: wish this action didn't pin versions...
12+
dotnet: [3.1.301] # TODO: wish this action didn't pin versions...
1213
runs-on: ${{ matrix.os }}
1314

1415
steps:
@@ -25,6 +26,7 @@ jobs:
2526
working-directory: ./fcs
2627
- name: Archive code coverage results
2728
uses: actions/upload-artifact@v2
29+
if: always()
2830
with:
2931
name: code-coverage-report
3032
path: ${{ github.workspace }}/artifacts/TestResults/Release/FSharp.Compiler.Service.Test.*.xml

.github/workflows/docs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Setup .NET Core
1616
uses: actions/setup-dotnet@v1
1717
with:
18-
dotnet-version: 3.1.201
18+
dotnet-version: 3.1.301
1919
- name: Restore tools
2020
run: dotnet tool restore
2121
working-directory: ./fcs

.github/workflows/publish.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
matrix:
1313
os: [macos-latest]
14-
dotnet: [3.1.201]
14+
dotnet: [3.1.301]
1515
runs-on: ${{ matrix.os }}
1616

1717
steps:
@@ -29,15 +29,15 @@ jobs:
2929
- name: Validate package bump
3030
run: dotnet fake build -s -t ValidateVersionBump
3131
working-directory: ./fcs
32-
- name: Publish to nuget
33-
run: dotnet fake build -s -t PublishNuget
34-
working-directory: ./fcs
35-
env:
36-
NUGET_APIKEY: ${{ secrets.NUGET_APIKEY }}
3732
- name: Create release
3833
run: dotnet fake build -s -t CreateRelease
3934
working-directory: ./fcs
4035
env:
4136
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37+
- name: Publish to nuget
38+
run: dotnet fake build -s -t PublishNuget
39+
working-directory: ./fcs
40+
env:
41+
NUGET_APIKEY: ${{ secrets.NUGET_APIKEY }}
4242

4343

fcs/global.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "3.1.200",
3+
"version": "3.1.301",
44
"rollForward":"minor"
55
}
66
}

0 commit comments

Comments
 (0)