Skip to content

Commit ae2557d

Browse files
authored
Merge pull request #19 from messente/travis
switch to buntu runner
2 parents 2e2cdb9 + 6c1c8be commit ae2557d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
build:
10-
runs-on: windows-latest
10+
runs-on: ubuntu-latest
1111

1212
steps:
1313
- name: Checkout code
@@ -22,10 +22,10 @@ jobs:
2222
run: dotnet restore
2323

2424
- name: Build
25-
run: dotnet build -c Release
25+
run: dotnet build -c Release --no-restore
2626

2727
- name: Pack
28-
run: dotnet pack ./src/com.Messente.Api/com.Messente.Api.csproj -o ./output -c Release --no-build
28+
run: dotnet pack ./src/com.Messente.Api/com.Messente.Api.csproj -o ./output --configuration Release --no-build --no-restore
2929

3030
- name: Publish to NuGet
31-
run: dotnet nuget push "./output/*.nupkg" --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
31+
run: dotnet nuget push ./output/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json

0 commit comments

Comments
 (0)