Skip to content

⬆️ Update 👷 GitHub Action actions/upload-artifact to b4b15b8 (#163) #185

⬆️ Update 👷 GitHub Action actions/upload-artifact to b4b15b8 (#163)

⬆️ Update 👷 GitHub Action actions/upload-artifact to b4b15b8 (#163) #185

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@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- name: Setup .NET Core
uses: actions/setup-dotnet@6bd8b7f7774af54e05809fcc5431931b3eb1ddee # 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@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
with:
name: ${{matrix.os}}-${{matrix.cfg}}-${{steps.pack.outputs.package-filename}}
path: ${{steps.pack.outputs.package-filepath}}