feat(upgrade): Upgraded to .NET8 (#39) #26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Bump main Tag version | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: '0' | |
- name: Install GitVersion | |
uses: gittools/actions/gitversion/[email protected] | |
with: | |
versionSpec: '5.x' | |
- name: Use GitVersion | |
id: gitversion # step id used as reference for output values | |
uses: gittools/actions/gitversion/[email protected] | |
- run: | | |
echo "NuGetVersionV2: ${{ steps.gitversion.outputs.NuGetVersionV2 }}" | |
- name: Bump version and push tag | |
uses: anothrNick/github-tag-action@1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# We want to push to nuget the same version we tag | |
CUSTOM_TAG: ${{ steps.gitversion.outputs.NuGetVersionV2 }} | |
RELEASE_BRANCHES: main |