Skip to content

Commit

Permalink
version
Browse files Browse the repository at this point in the history
  • Loading branch information
ldennington committed Apr 19, 2024
1 parent fddc0eb commit b023842
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 379 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/release-dotnet-tool.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ name: release-dotnet-tool
on:
release:
types: [released]
workflow_dispatch:
inputs:
version:
description: 'Version to release'
required: true
default: '2.6.0'

jobs:
release:
Expand All @@ -18,6 +24,6 @@ jobs:
Invoke-WebRequest -Uri $asset.browser_download_url -OutFile $asset.name
# Publish asset
dotnet nuget add source https://int.nugettest.org/v3/index.json -n int.nugettest.org
dotnet nuget push $asset.name --api-key ${{ secrets.NUGET_API_KEY }} --source https://int.nugettest.org/v3/index.json
dotnet nuget add source https://int.nugettest.org/api/v2/index.json -n int.nugettest.org
dotnet nuget push $asset.name --api-key ${{ secrets.NUGET_API_KEY }} --source int.nugettest.org
shell: powershell
Loading

0 comments on commit b023842

Please sign in to comment.