Skip to content

Add publish artifacts step to GitHub Actions workflow #116

Add publish artifacts step to GitHub Actions workflow

Add publish artifacts step to GitHub Actions workflow #116

Workflow file for this run

name: .NET Core
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Restore
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore /property:ContinuousIntegrationBuild=True
# - name: Test
# run: dotnet test --configuration Release --no-restore --no-build
- name: Pack
run: dotnet pack --configuration Release --no-restore --no-build
- name: Publish
uses: actions/upload-artifact@v4
with:
name: packages
path: '**/*.nupkg'