Skip to content

Bump the dotnet-dependencies group with 2 updates #80

Bump the dotnet-dependencies group with 2 updates

Bump the dotnet-dependencies group with 2 updates #80

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: Restore, build, and test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: 8.0.x
- name: Restore
run: dotnet restore
- name: Build
run: dotnet build --no-restore --configuration Release
- name: Test
run: dotnet test --no-build --configuration Release --verbosity normal
- name: Pack CLI tool
run: dotnet pack src/SnapForge.Cli/SnapForge.Cli.csproj --no-build --configuration Release --output artifacts/packages
- name: Upload package artifact
uses: actions/upload-artifact@v7
with:
name: snapforge-cli-package
path: artifacts/packages/*.nupkg
if-no-files-found: error
retention-days: 7