Skip to content

Commit 81df9f7

Browse files
Merge pull request #139 from SixLabors/js/fix-build
Fix MinVer Build Issue
2 parents 4f009c8 + 6c3eb5e commit 81df9f7

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/build-and-test.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ jobs:
109109
Publish:
110110
needs: [Build]
111111

112-
runs-on: windows-latest
112+
runs-on: ubuntu-latest
113113

114114
if: (github.event_name == 'push')
115115

@@ -129,6 +129,14 @@ jobs:
129129
- name: NuGet Install
130130
uses: NuGet/setup-nuget@v1
131131

132+
- name: NuGet Setup Cache
133+
uses: actions/cache@v2
134+
id: nuget-cache
135+
with:
136+
path: ~/.nuget
137+
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj', '**/*.props', '**/*.targets') }}
138+
restore-keys: ${{ runner.os }}-nuget-
139+
132140
- name: DotNet Pack
133141
shell: pwsh
134142
run: ./ci-pack.ps1

0 commit comments

Comments
 (0)