Skip to content

matrix 2

matrix 2 #491

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]
env:
yaqti: 6.6.1
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 "BETAHASH=$BETAHASH" >> $GITHUB_ENV
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
- name: Get Beta Hash
run: |
echo "Release is ${{ matrix.RELEASE }}"
- name: Checkout Upstream Repo
if: ${{ matrix.RELEASE == beta}}"

Check failure on line 38 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: 38, Col: 11): Unrecognized named-value: 'beta'. Located at position 19 within expression: matrix.RELEASE == beta
uses: actions/checkout@v4
with:
repository: dolphin-emu/dolphin
ref: ${{ env.BETAHASH }}
- name: Get Release Run
if: matrix.RELEASE == 'continuous'
run: |
echo "Running Well"
echo "Release is ${{ matrix.RELEASE }}"