Skip to content

Commit

Permalink
Merge pull request #198 from FizzCodeSoftware/release_workflow_az
Browse files Browse the repository at this point in the history
Added Azure DevOps nuget feed
  • Loading branch information
zsolttothfizz authored Nov 12, 2024
2 parents 1583fb3 + bacf179 commit 1b260e5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/main-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ jobs:
with:
dotnet-version: 9
dotnet-quality: 'preview'
source-url: https://pkgs.dev.azure.com/fizzcode/ArtifactFeed/_packaging/FizzSuiteFeed/nuget/v3/index.json
env:
NUGET_AUTH_TOKEN: ${{ secrets.AZURE_DEVOPS_APIKEY }}

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

- name: Push to AzureDevops
run: dotnet nuget push .packages\*.nupkg --source https://pkgs.dev.azure.com/fizzcode/ArtifactFeed/_packaging/FizzSuiteFeed/nuget/v3/index.json --api-key AzureArtifacts

- name: Create tag
uses: actions/github-script@v7
with:
Expand Down

0 comments on commit 1b260e5

Please sign in to comment.