Skip to content

Commit f054e51

Browse files
2 parents 8a242f7 + 328bfaf commit f054e51

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/master-release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: release
22

33
on:
4+
workflow_dispatch:
45
push:
56
branches: [ "master" ]
67

@@ -20,6 +21,9 @@ jobs:
2021
uses: actions/setup-dotnet@v3
2122
with:
2223
dotnet-version: 8
24+
source-url: https://pkgs.dev.azure.com/fizzcode/ArtifactFeed/_packaging/FizzSuiteFeed/nuget/v3/index.json
25+
env:
26+
NUGET_AUTH_TOKEN: ${{ secrets.AZURE_DEVOPS_APIKEY }}
2327

2428
- name: Restore
2529
run: dotnet restore /p:Configuration=${{ env.Configuration }} --verbosity normal
@@ -39,6 +43,9 @@ jobs:
3943
- name: Push to nuget.org
4044
run: dotnet nuget push .packages\*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_ORG_APIKEY }}
4145

46+
- name: Push to AzureDevops
47+
run: dotnet nuget push .packages\*.nupkg --source https://pkgs.dev.azure.com/fizzcode/ArtifactFeed/_packaging/FizzSuiteFeed/nuget/v3/index.json --api-key AzureArtifacts
48+
4249
- name: Create tag
4350
uses: actions/github-script@v7
4451
with:

0 commit comments

Comments
 (0)