Skip to content

Commit d3df333

Browse files
authored
Merge pull request #9 from vbfox/ci_integration_test
Update build environment
2 parents 1366284 + bd2de3a commit d3df333

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

.github/workflows/main.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ on:
88

99
jobs:
1010
linux:
11-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-22.04
1212
env:
1313
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
1414
DOTNET_CLI_TELEMETRY_OPTOUT: 1
1515
DOTNET_NOLOGO: 1
1616
PAKET_SKIP_RESTORE_TARGETS: true
1717
steps:
18-
- uses: actions/checkout@v4
19-
- uses: actions/setup-dotnet@v4
18+
- uses: actions/checkout@v6
19+
- uses: actions/setup-dotnet@v5
2020
with:
2121
dotnet-version: |
2222
2
@@ -27,6 +27,13 @@ jobs:
2727
run: dotnet build src/BlackFox.MasterOfFoo.Build/BlackFox.MasterOfFoo.Build.fsproj
2828
- name: Build
2929
run: ./build.sh CI
30+
- name: Publish artifacts
31+
uses: actions/upload-artifact@v6
32+
with:
33+
path: artifacts/BlackFox.MasterOfFoo/Release/*.nupkg
34+
if-no-files-found: error
35+
compression-level: 0
36+
3037
windows:
3138
runs-on: windows-latest
3239
env:
@@ -35,8 +42,8 @@ jobs:
3542
DOTNET_NOLOGO: 1
3643
PAKET_SKIP_RESTORE_TARGETS: true
3744
steps:
38-
- uses: actions/checkout@v4
39-
- uses: actions/setup-dotnet@v4
45+
- uses: actions/checkout@v6
46+
- uses: actions/setup-dotnet@v5
4047
with:
4148
dotnet-version: |
4249
2

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
33
"version": "8.0.201",
4-
"rollForward": "latestMajor"
4+
"rollForward": "minor"
55
}
66
}

0 commit comments

Comments
 (0)