Skip to content

Commit c77dde1

Browse files
authored
Run dotnet workflows on Ubuntu (#651)
This is in order to avoid dreaded GitHub actions workflow issues on Windows We still want to run Fable on Windows since there are weird issues that causes Fable to fail for this code on Ubuntu We also remove old .net versions to hopefully speed up the build
1 parent ef5107f commit c77dde1

File tree

4 files changed

+4
-10
lines changed

4 files changed

+4
-10
lines changed

.github/workflows/dotnetcore.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
jobs:
1515
build:
1616

17-
runs-on: windows-latest
17+
runs-on: ubuntu-latest
1818

1919
steps:
2020
- uses: actions/checkout@v2
@@ -23,7 +23,6 @@ jobs:
2323
with:
2424
dotnet-version: |
2525
8.0.x
26-
7.0.x
2726
- name: Restore
2827
run: git submodule update --init --recursive
2928
- name: Build with dotnet
@@ -36,7 +35,7 @@ jobs:
3635
run: dotnet test build.proj -v n
3736

3837
package:
39-
runs-on: windows-latest
38+
runs-on: ubuntu-latest
4039
permissions:
4140
packages: write
4241
contents: read
@@ -47,7 +46,6 @@ jobs:
4746
with:
4847
dotnet-version: |
4948
8.0.x
50-
7.0.x
5149
6.0.x
5250
- name: Restore
5351
run: git submodule update --init --recursive

.github/workflows/fable.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ jobs:
2222
with:
2323
dotnet-version: |
2424
8.0.x
25-
7.0.x
2625
6.0.x
2726
- name: Restore tools
2827
run: dotnet tool restore

.github/workflows/release-package.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
tags: ['v**']
1212
jobs:
1313
package:
14-
runs-on: windows-latest
14+
runs-on: ubuntu-latest
1515
permissions:
1616
packages: write
1717
contents: read
@@ -22,7 +22,6 @@ jobs:
2222
with:
2323
dotnet-version: |
2424
8.0.x
25-
7.0.x
2625
6.0.x
2726
- name: Restore
2827
run: git submodule update --init --recursive

global.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
},
77

88
"additionalSdks": [
9-
"5.0.405",
10-
"6.0.201",
11-
"7.0.100"
9+
"6.0.201"
1210
]
1311
}

0 commit comments

Comments
 (0)