matrix test 1 #489
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] | ||
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 GitHub Actions / Dolphin-AppImageInvalid workflow file
|
||
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 }}" |