Skip to content

⬆️ Update 🥅 .NET Package Microsoft.NET.Test.Sdk to v17.7.0 (#91) #112

⬆️ Update 🥅 .NET Package Microsoft.NET.Test.Sdk to v17.7.0 (#91)

⬆️ Update 🥅 .NET Package Microsoft.NET.Test.Sdk to v17.7.0 (#91) #112

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@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
- name: Setup .NET Core
uses: actions/setup-dotnet@3447fd6a9f9e57506b15f895c5b76d3b197dc7c2 # v3
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@0b7f8abb1508181956e8e162db84b466c27e18ce # v3
with:
name: ${{matrix.os}}-${{matrix.cfg}}-${{steps.pack.outputs.package-filename}}
path: ${{steps.pack.outputs.package-filepath}}