Skip to content

Commit 6b22f16

Browse files
committed
Switch to ubuntu-latest for faster, more reliable builds
1 parent b193511 commit 6b22f16

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
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 & 4 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,6 +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: |
34-
cd nupkg
35-
dotnet nuget push *.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)