Skip to content

Commit 5900f76

Browse files
author
Thomas Hambach
committed
Try different GH action
1 parent 6697426 commit 5900f76

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/nuget.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,21 @@ on:
44
branches:
55
- main
66
jobs:
7-
build:
8-
name: Publish on Nuget
9-
runs-on: windows-latest
7+
publish:
8+
name: build, pack & publish
9+
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v2
12+
13+
# - name: Setup dotnet
14+
# uses: actions/setup-dotnet@v1
15+
# with:
16+
# dotnet-version: 6.0.0
17+
18+
# Publish
1219
- name: publish on version change
1320
id: publish_nuget
14-
uses: brandedoutcast/publish-nuget@v2
21+
uses: alirezanet/publish-nuget@v3.0.0
1522
with:
1623
# Filepath of the project to be packaged, relative to root of repository
1724
PROJECT_FILE_PATH: CSharpDiff/CSharpDiff.csproj

0 commit comments

Comments
 (0)