Skip to content

Update implementation from production code #124

Update implementation from production code

Update implementation from production code #124

Workflow file for this run

name: CI
on: [push]
jobs:
build:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Fetch all history for all tags and branches
run: git fetch --prune --unshallow
- name: Install GitVersion
uses: gittools/actions/gitversion/[email protected]
with:
versionSpec: '5.x'
- name: Use GitVersion
id: gitversion # step id used as reference for output values
uses: gittools/actions/gitversion/[email protected]
- name: Setup dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: |
8.x
- name: Build with dotnet
run: dotnet build --configuration Release -p:Version=${{ steps.gitversion.outputs.nuGetVersionV2 }}
- name: Test with dotnet
run: dotnet test --configuration Release --no-build
- uses: actions/upload-artifact@v2
with:
name: nuget
path: "**/Kontent.Statiq*.s?nupkg"
outputs:
nugetversion: ${{ steps.gitversion.outputs.nuGetVersionV2 }}
prerelease: ${{ steps.gitversion.outputs.preReleaseTag != '' }}