Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Latency committed Jan 27, 2024
1 parent ff8ae40 commit 33c802a
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,14 @@ jobs:
- name: Build
run: dotnet build --no-restore --configuration ${{ matrix.configuration }}

- name: Display
run: env
- name: Create a release draft for a version tag
id: create-release-draft
uses: ecampidoglio/auto-release-draft@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Print the URL of the release draft
if: steps.create-release-draft.outputs.release-url != ''
run: echo ${{ steps.create-release-draft.outputs.release-url }}

- name: Push
run: dotnet nuget push "${{ github.workspace }}\src\bin\${{ matrix.configuration }}\NDesk.Options*.nupkg"
# - name: Push
# run: dotnet nuget push "${{ github.workspace }}\src\bin\${{ matrix.configuration }}\NDesk.Options*.nupkg"

0 comments on commit 33c802a

Please sign in to comment.