Skip to content

Commit 527d493

Browse files
authored
Update build.yml
1 parent 0c8b31c commit 527d493

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
env:
1313
NUPKG_MAJOR: 2.2
1414
CODESIGN_PFX: ${{ secrets.CODESIGN_PFX }}
15-
runs-on: macos-latest
15+
runs-on: windows-latest
1616
steps:
1717
- name: Checkout
1818
uses: actions/checkout@v2
@@ -38,7 +38,7 @@ jobs:
3838
echo "::set-output name=pkgverci::$VERSION"
3939
echo "PACKAGE VERSION: $VERSION"
4040
41-
msbuild -t:Pack -r -p:PackageOutputPath=../artifacts -p:Configuration=Release -p:PackageVersion=$VERSION ./MavenNet/MavenNet.csproj
41+
msbuild -t:Pack -r -p:PackageOutputPath=..\artifacts -p:Configuration=Release -p:PackageVersion=$VERSION .\MavenNet\MavenNet.csproj
4242
4343
$pfxPath = Join-Path -Path $pwd -ChildPath "codesigncert.pfx"
4444
[IO.File]::WriteAllBytes("$pfxPath", [System.Convert]::FromBase64String($env:CODESIGN_PFX))
@@ -48,7 +48,7 @@ jobs:
4848
uses: actions/upload-artifact@v1
4949
with:
5050
name: NuGet
51-
path: ./artifacts
51+
path: .\artifacts
5252

5353
publish:
5454
name: Publish

0 commit comments

Comments
 (0)