Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 1 addition & 31 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,38 +31,8 @@ on:
types: [published]

jobs:
build-all-configs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
configuration: [Debug, Release]
fail-fast: false

runs-on: ${{ matrix.os }}

permissions:
contents: read

steps:
- name: Clone the repo
uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis

- name: Set up .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x

- name: Build
run: dotnet build --configuration ${{ matrix.configuration }}

- name: Pack
run: dotnet pack --configuration ${{ matrix.configuration }}

build-package:
runs-on: windows-latest
needs: build-all-configs

env:
version_suffix_args: ${{ github.event_name != 'release' && format('--version-suffix "{0}"', inputs.version_suffix_override || format('ci.{0}', github.run_number)) || '' }}
Expand Down Expand Up @@ -99,7 +69,7 @@ jobs:
runs-on: ubuntu-latest

permissions:
contents: read
contents: write
packages: write

steps:
Expand Down