gha: give github 20s to process remaining artifacts upload before downloading them. Upgrade Flatpak Docker image

This commit is contained in:
Alibek Omarov 2024-08-12 11:43:01 +03:00
parent a6b1e57ae1
commit 7bb5d9a67a

View file

@ -67,14 +67,13 @@ jobs:
name: artifact-${{ matrix.targetos }}-${{ matrix.targetarch }} name: artifact-${{ matrix.targetos }}-${{ matrix.targetarch }}
path: artifacts/* path: artifacts/*
flatpak: flatpak:
name: "Flatpak"
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
include: include:
- app: su.xash.Engine.Compat.i386 - app: su.xash.Engine.Compat.i386
container: container:
image: bilelmoussaoui/flatpak-github-actions:freedesktop-22.08 image: bilelmoussaoui/flatpak-github-actions:freedesktop-23.08
options: --privileged options: --privileged
steps: steps:
- name: Checkout - name: Checkout
@ -101,6 +100,7 @@ jobs:
--yes \ --yes \
--cleanup-tag \ --cleanup-tag \
--repo "$GITHUB_REPOSITORY" || true --repo "$GITHUB_REPOSITORY" || true
sleep 20s
gh run download "$GITHUB_RUN_ID" \ gh run download "$GITHUB_RUN_ID" \
--dir artifacts/ \ --dir artifacts/ \
--repo "$GITHUB_REPOSITORY" --repo "$GITHUB_REPOSITORY"
@ -119,5 +119,4 @@ jobs:
--title "Xash3D FWGS Continuous ${{ github.ref_name }} Build" \ --title "Xash3D FWGS Continuous ${{ github.ref_name }} Build" \
--target $GITHUB_SHA \ --target $GITHUB_SHA \
--repo "$GITHUB_REPOSITORY" \ --repo "$GITHUB_REPOSITORY" \
--prerelease \ --prerelease
--generate-notes