Skip to content
name: Publish Standalone
on:
push:
branches: [ v15 ]
workflow_dispatch:
env:
# Disable the .NET logo in the console output.
DOTNET_NOLOGO: true
# Disable the .NET first time experience to skip caching NuGet packages and speed up the build.
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
# Disable sending .NET CLI telemetry to Microsoft.
DOTNET_CLI_TELEMETRY_OPTOUT: true
jobs:
publish-standalone:
strategy:
matrix:
data: [
{ rid: 'win-x64', os: 'windows-latest' },
{ rid: 'win-x86', os: 'windows-latest' },
{ rid: 'linux-x64', os: 'ubuntu-latest' },
{ rid: 'osx-x64', os: 'macos-13' },
{ rid: 'osx-arm64', os: 'macos-latest' }
]
name: Publish Standalone ${{ matrix.data.rid }}
runs-on: ${{ matrix.data.os }}
steps:
- name: Setup
uses: butr/actions-common-setup@v2
with:
github-token: ${{secrets.GITHUB_TOKEN}}
- name: Setup .NET 9
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.x.x
- name: Run _build
run: >-
dotnet publish src/BUTR.CrashReport.Renderer.ImGui.Standalone/BUTR.CrashReport.Renderer.ImGui.Standalone.csproj --configuration Release -r "${{ matrix.data.rid }}" -o "./pub";
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.data.rid }}
path: "./pub"