Skip to content

Commit dfc7e63

Browse files
authored
Merge pull request #19 from liamgold/fix/nuget-publish-no-build
Fix NuGet publish workflow wildcard pattern
2 parents bda76d9 + 6b22f16 commit dfc7e63

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
build:
9-
runs-on: windows-latest
9+
runs-on: ubuntu-latest
1010

1111
steps:
1212
- uses: actions/checkout@v4

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ permissions:
1010

1111
jobs:
1212
publish:
13-
runs-on: windows-latest
13+
runs-on: ubuntu-latest
1414

1515
steps:
1616
- uses: actions/checkout@v4
@@ -30,4 +30,4 @@ jobs:
3030
run: dotnet pack src/XperienceCommunity.Sustainability.csproj --configuration Release --no-build --output nupkg
3131

3232
- name: Publish to NuGet using Trusted Publishing
33-
run: dotnet nuget push ./nupkg/*.nupkg --source https://api.nuget.org/v3/index.json --skip-duplicate
33+
run: dotnet nuget push nupkg/*.nupkg --source https://api.nuget.org/v3/index.json --skip-duplicate

0 commit comments

Comments
 (0)