run, not runs, also invert package matrix

This commit is contained in:
Mark McDowall 2024-01-06 13:13:27 -08:00
parent d640a069cd
commit a3b1b601ca
2 changed files with 10 additions and 10 deletions

View File

@ -38,7 +38,7 @@ runs:
- name: Configure Environment Variables - name: Configure Environment Variables
shell: bash shell: bash
runs: | run: |
echo "FRAMEWORK=${{ inputs.framework }}" >> "$GITHUB_ENV" echo "FRAMEWORK=${{ inputs.framework }}" >> "$GITHUB_ENV"
echo "BRANCH=${{ inputs.branch }}" >> "$GITHUB_ENV" echo "BRANCH=${{ inputs.branch }}" >> "$GITHUB_ENV"
echo "SONARR_MAJOR_VERSION=${{ inputs.major_version }}" >> "$GITHUB_ENV" echo "SONARR_MAJOR_VERSION=${{ inputs.major_version }}" >> "$GITHUB_ENV"

View File

@ -24,16 +24,16 @@ jobs:
package: package:
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest, windows-latest] platform: [freebsd, linux, macos, windows]
include: include:
- os: ubuntu-latest - platform: freebsd
platform: freebsd os: ubuntu-latest
- os: ubuntu-latest - platform: linux
platform: linux os: ubuntu-latest
- os: ubuntu-latest - platform: macos
platform: macos os: ubuntu-latest
- os: windows-latest - platform: windows
platform: windows os: windows-latest
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps: