Skip to content

matrix test 1

matrix test 1 #489

Workflow file for this run

name: Dolphin-AppImage
on:
push:
workflow_dispatch:
schedule:
#- cron: "0 0 * * 1"
- cron: "1 22 * * 2"
jobs:
beta-run-check:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
RELEASE: [continuous, beta]
outputs:
BETAUPDATE: ${{ steps.check.outputs.BETAUPDATE }}
steps:
- name: Beta Run Check
id: check
run: |
export RUNHASH=$(curl -sSfL https://github.com/qurious-pixel/dolphin/releases/tag/beta | grep '<tt>' | awk '{print $NF}' | grep -E -o 'commit.{41}' | sed 's/commit\///g')
export BETAHASH=$(curl -sSfL https://dolphin-emu.org/update/latest/beta/ | jq .hash | tr -d '"')
echo "RUNHASH is $RUNHASH"
echo "BETAHASH is $BETAHASH"
if [[ $RUNHASH == $BETAHASH ]]; then
echo "BETAUPDATE=true" >> $GITHUB_OUTPUT
else
echo "Updating..."
echo "BETAUPDATE=false" >> $GITHUB_OUTPUT
fi
dolphin-appimage-beta:
if: matrix.RELEASE == 'beta' && needs.beta-run-check.outputs.BETAUPDATE == 'false'

Check failure on line 35 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / Dolphin-AppImage

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 35, Col: 9): Unrecognized named-value: 'matrix'. Located at position 1 within expression: matrix.RELEASE == 'beta' && needs.beta-run-check.outputs.BETAUPDATE == 'false' .github/workflows/build.yml (Line: 57, Col: 9): Unrecognized named-value: 'matrix'. Located at position 1 within expression: matrix.RELEASE == 'continuous'
name: dolphin beta bundled as appimage
runs-on: ubuntu-20.04
needs: beta-run-check
env:
yaqti: 6.6.1
steps:
- name: Get Beta Hash
run: |
export BETAHASH=$(curl -sSfL https://dolphin-emu.org/update/latest/beta/ | jq .hash | tr -d '"')
echo "BETAHASH=$BETAHASH" >> $GITHUB_ENV
echo "$BETAHASH"
echo "Release is ${{ matrix.RELEASE }}"
- name: Checkout Upstream Repo
uses: actions/checkout@v4
with:
repository: dolphin-emu/dolphin
ref: ${{ env.BETAHASH }}
dolphin-appimage-continuous:
name: dolphin release bundled as appimage
if: matrix.RELEASE == 'continuous'
runs-on: ubuntu-20.04
steps:
- name: Get Release Run
run: |
echo "Running Well"
echo "Release is ${{ matrix.RELEASE }}"