name: CI on: [push, pull_request] jobs: build: runs-on: ${{ matrix.os }} strategy: matrix: os: [windows-latest, ubuntu-latest, macos-latest] steps: - uses: actions/checkout@v2 - name: Fetch all history for all tags and branches run: | git fetch --prune --unshallow - run: | npm install npm run build:github npm run build:azure name: Build code - name: Install GitVersion uses: ./setup-gitversion with: versionSpec: '5.1.2' - name: Use GitVersion id: gitversion # step id used as reference for output values uses: ./execute-gitversion - run: | echo "FullSemVer: ${{ steps.gitversion.outputs.fullSemVer }}"