Skip to content

build: build packages in release mode #4

build: build packages in release mode

build: build packages in release mode #4

Workflow file for this run

name: Build Nuget Package
on:
push:
branches:
- main
workflow_dispatch:
jobs:
core:
name: Build and Package - Core
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: |
6.0.x
- name: Build
run: dotnet build --configuration Release .\Box.V2.Core
- name: Pack
run: dotnet pack --configuration Release .\Box.V2.Core
- name: Save Artifacts
uses: actions/upload-artifact@v4
with:
name: Box.V2.Core.${{ github.run_attempt }}
path: .\Box.V2.Core\bin\
if-no-files-found: error