Skip to content

small mods

small mods #1

Workflow file for this run

name: build
env:
VERSION: '6.0.0'
ASM_VERSION: '6.0.0'
VERSION_SUFFIX: '-pre.1'
on:
push:
branches:
- master
- codegen
pull_request:
branches:
- master
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: Check-out source code
with:
submodules: true
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
8.0.x
- name: Test
run: dotnet test src/Config.Net.sln -c release --filter Category!=Integration --no-restore --verbosity normal /p:Version=${{ env.VERSION }} /p:FileVersion=${{ env.VERSION }} /p:AssemblyVersion=${{ env.ASM_VERSION }}
- name: Build
run: dotnet build src/Config.Net.sln --configuration Release --no-restore /p:Version=${{ env.VERSION }} /p:FileVersion=${{ env.VERSION }} /p:AssemblyVersion=${{ env.ASM_VERSION }}
- name: Upload a Build Artifact
uses: actions/upload-artifact@v4
with:
name: nuget
path: src/**/*.nupkg