diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b5cc934ac..2071e4ee2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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)) || '' }} @@ -99,7 +69,7 @@ jobs: runs-on: ubuntu-latest permissions: - contents: read + contents: write packages: write steps: