Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
amitash committed Jul 6, 2021
1 parent c91b962 commit 2b9bac5
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/manual-publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,22 @@ jobs:
# - name: Push to NuGet
# run: dotnet nuget push nupkg/**/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://nuget.org --skip-duplicate

Release:
# needs: deploy
name: Version and Release
release:
runs-on: ubuntu-latest
steps:
- name: release
uses: eregon/publish-release@v1
- name: Create Draft Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
release_id: ${{ env.MAJOR_MINOR_VERSION }}${{ github.run_number }}
tag_name: release
release_name: release
draft: true
prerelease: false

- uses: eregon/publish-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
release_id: ${{ steps.create_release.outputs.id }}

0 comments on commit 2b9bac5

Please sign in to comment.