Bump azure-pipelines-tool-lib from 1.3.2 to 2.0.6 #730
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [windows-latest, ubuntu-latest, macos-latest] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Fetch all history for all tags and branches | |
run: | | |
git fetch --prune --unshallow | |
- run: | | |
npm install | |
npm run format-check | |
npm run build:github | |
name: Build code | |
- name: gitversion/setup | |
uses: ./gitversion/setup | |
with: | |
versionSpec: '5.x' | |
- name: gitversion/execute | |
id: gitversion # step id used as reference for output values | |
uses: ./gitversion/execute | |
- run: | | |
echo "FullSemVer (env.fullSemVer) : ${{ env.fullSemVer }}" | |
echo "FullSemVer (env.GitVersion_FullSemVer) : ${{ env.GitVersion_FullSemVer }}" | |
echo "FullSemVer (steps.gitversion.outputs.fullSemVer) : ${{ steps.gitversion.outputs.fullSemVer }}" | |
echo "FullSemVer (steps.gitversion.outputs.GitVersion_FullSemVer) : ${{ steps.gitversion.outputs.GitVersion_FullSemVer }}" | |
name: Use variables and output |