diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 2cb5656..2fbd09b 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -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"