Skip to content

Commit

Permalink
Auto release?
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronSadlerUK committed Aug 7, 2023
1 parent 5a887ce commit 2d21cc1
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/dotnet-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,17 @@ jobs:
run: |
dotnet nuget push ./build.out/Our.Umbraco.Forms.uCaptcha.${{steps.gitversion.outputs.fullSemVer}}.nupkg --skip-duplicate --source https://nuget.pkg.github.com/umbhost/index.json --api-key ${{ github.token }}
- name: Push to UmbHost Nuget Repo
if: ${{ github.event_name != 'pull_request' }}
run: |
dotnet nuget push ./build.out/Our.Umbraco.Forms.uCaptcha.${{steps.gitversion.outputs.fullSemVer}}.nupkg --skip-duplicate --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}
# - name: Push to UmbHost Nuget Repo
# if: ${{ github.event_name != 'pull_request' }}
# run: |
# dotnet nuget push ./build.out/Our.Umbraco.Forms.uCaptcha.${{steps.gitversion.outputs.fullSemVer}}.nupkg --skip-duplicate --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}

-name: Create Release
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: ${{ github.token }}
automatic_release_tag: ${{steps.gitversion.outputs.fullSemVer}}
prerelease: true
title: ${{steps.gitversion.outputs.fullSemVer}}
files: |
Our.Umbraco.Forms.uCaptcha.${{steps.gitversion.outputs.fullSemVer}}.nupkg

0 comments on commit 2d21cc1

Please sign in to comment.