Skip to content

⬆️ Update 👷 GitHub Action actions/setup-dotnet to 67a3573 (#191) #214

⬆️ Update 👷 GitHub Action actions/setup-dotnet to 67a3573 (#191)

⬆️ Update 👷 GitHub Action actions/setup-dotnet to 67a3573 (#191) #214

Workflow file for this run

name: Package
on:
push:
branches: [main]
jobs:
build:
strategy:
matrix:
cfg: [debug, release]
os: [ubuntu, macos, windows]
version: ['6.x']
runs-on: ${{ matrix.os }}-latest
env:
DOTNET_NOLOGO: true
steps:
- name: Checkout Repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Setup .NET Core
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4
with:
dotnet-version: '6.x'
- name: Create Package
id: pack
run: >-
dotnet pack --nologo
--configuration ${{ matrix.cfg }}
--version-suffix ${{ github.sha }}
- name: Upload Package Artifact
if: github.ref_type == 'branch'
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
with:
name: ${{matrix.os}}-${{matrix.cfg}}-${{steps.pack.outputs.package-filename}}
path: ${{steps.pack.outputs.package-filepath}}