Change rider detection to new install locations (#377) #124
Workflow file for this run
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: on-tag-do-release | |
on: | |
push: | |
tags: | |
- '[0-9]+\.[0-9]+\.[0-9]+' | |
jobs: | |
release: | |
runs-on: windows-latest | |
steps: | |
- name: Run | |
run: | | |
dotnet tool install --global GitReleaseManager.Tool | |
tag="${GITHUB_REF:10}" | |
owner="${GITHUB_REPOSITORY%/*}" | |
repo="${GITHUB_REPOSITORY#*/}" | |
dotnet-gitreleasemanager create -m ${tag} --token ${{secrets.GITHUB_TOKEN}} -o ${owner} -r ${repo} | |
dotnet-gitreleasemanager close -m ${tag} --token ${{secrets.GITHUB_TOKEN}} -o ${owner} -r ${repo} | |
dotnet-gitreleasemanager publish -t ${tag} --token ${{secrets.GITHUB_TOKEN}} -o ${owner} -r ${repo} | |
shell: bash |