Update ci.yml #16
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, pull_request, workflow_dispatch] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
# os: [windows-latest, ubuntu-latest, macos-latest] | |
os: [ubuntu-latest] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Fetch all history for all tags and branches | |
run: | | |
git fetch --prune --unshallow | |
- uses: gittools/actions/gitversion/[email protected] | |
name: Install GitVersion | |
with: | |
versionSpec: '6.x' | |
includePrerelease: true | |
- uses: gittools/actions/gitversion/[email protected] | |
name: Use GitVersion | |
id: gitversion # step id used as reference for output values | |
# - run: | | |
# echo "FullSemVer: ${{ steps.gitversion.outputs.fullSemVer }}" | |
# - uses: gittools/actions/gitreleasemanager/setup@v0 | |
# name: Install GitReleaseManager | |
# with: | |
# versionSpec: '0.10.x' | |
# - uses: gittools/actions/gitreleasemanager/[email protected] | |
# name: Create release with GitReleaseManager | |
# if: matrix.os == 'ubuntu-latest' | |
# with: | |
# token: ${{ secrets.GITHUB_TOKEN }} | |
# owner: 'arturcic' | |
# repository: 'actions-test' | |
# milestone: '0.1.0' | |
# name: 'v0.1.0' | |
# assets: | | |
# src/test.txt | |
# src/test1.txt |