Skip to content

Commit

Permalink
Added bump version task
Browse files Browse the repository at this point in the history
  • Loading branch information
ydinkov authored Feb 13, 2022
1 parent bb42639 commit e438d82
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,26 @@ on:
branches: [ master ]

jobs:
bump_version_tag:
name: Bump version and push tag
runs-on: ubuntu-latest
outputs:
new_tag: ${{ steps.create_tag.outputs.new_tag }}
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: '0'
- name: Execute action anothrNick/github-tag-action
id: create_tag
uses: anothrNick/github-tag-action@1.26.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: true
DEFAULT_BUMP: patch
build:

needs: bump_version_tag
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Setup .NET
Expand Down

0 comments on commit e438d82

Please sign in to comment.