Change to only log errors if we have set to rethrow exceptions #8
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
on: | |
pull_request: | |
branches: | |
- master | |
- develop | |
types: | |
- closed | |
paths: | |
- '**/*.cs' | |
- '**/*.csproj' | |
push: | |
branches: | |
- master | |
- develop | |
- '*' | |
paths: | |
- '**/*.cs' | |
- '**/*.csproj' | |
tags: | |
- "v*" | |
env: | |
GIT_BRANCH: 'master' | |
jobs: | |
determine: | |
#if: github.event.pull_request.merged == true # Only create a new tag when a PR is merged | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install GitVersion | |
uses: gittools/actions/gitversion/[email protected] | |
with: | |
versionSpec: '5.x' | |
- name: Check out Code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Determine Version | |
id: gitversion | |
uses: gittools/actions/gitversion/[email protected] | |
with: | |
useConfigFile: true | |
configFilePath: ./.github/gitversion.yml | |
- name: Print Version | |
run: echo ${{ steps.gitversion.outputs.FullSemVer }} |