matrix 2 #491
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 GitHub Actions / Dolphin-AppImageInvalid workflow file
|
||
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 }}" |