Skip to content

Update GitHub Actions #38

Update GitHub Actions

Update GitHub Actions #38

Workflow file for this run

name: Build
on:
push:
branches:
- main
- develop
- support/*
tags:
- v*
pull_request:
branches:
- main
- develop
- support/*
workflow_call:
env:
DOTNET_NOLOGO: true
DOTNET_GENERATE_ASPNET_CERTIFICATE: false
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-dotnet@v4
with:
cache: true
cache-dependency-path: **/packages.lock.json

Check failure on line 38 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

You have an error in your yaml syntax on line 38
- name: Restore
run: dotnet restore --locked-mode
- name: Build
run: dotnet build --configuration Release --property:ContinuousIntegrationBuild=true --no-restore
- name: Pack
run: dotnet pack --configuration Release --no-restore --no-build --output ./artifacts/
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
path: ./artifacts/