Skip to content

⬆️ Update 👷 GitHub Action codecov/codecov-action to 6d79887 (#137) #158

⬆️ Update 👷 GitHub Action codecov/codecov-action to 6d79887 (#137)

⬆️ Update 👷 GitHub Action codecov/codecov-action to 6d79887 (#137) #158

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@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
- name: Setup .NET Core
uses: actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3 # 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@65462800fd760344b1a7b4382951275a0abb4808 # v4
with:
name: ${{matrix.os}}-${{matrix.cfg}}-${{steps.pack.outputs.package-filename}}
path: ${{steps.pack.outputs.package-filepath}}