Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Hugo do Nascimento committed Apr 17, 2023
1 parent 9f2c16f commit 8eb6a5b
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,22 +111,15 @@ jobs:
# - name: Publish .nupkg to NUGET
# run: dotnet nuget push *nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }} --skip-duplicate

- name: Tag release
- name: Create release
uses: actions/github-script@v6
with:
result-encoding: string
script: |
github.rest.git.createTag({
github.rest.git.createRelease({
owner: context.repo.owner,
repo: context.repo.repo,
tag: 'v1.0.11',
message: 'new release',
object: context.sha,
type: 'commit',
tagger: {
name: "Victor Hugo do Nascimento",
email: "victor.hugo.nascimento58@gmail.com"
}
tag_name: 'v1.0.11'
})
# - name: Publish to github on version change
Expand Down

0 comments on commit 8eb6a5b

Please sign in to comment.