From 45853afe64a7f469d9e76cf02b44fe3403ea5b19 Mon Sep 17 00:00:00 2001 From: Florian Wilhelm <2292245+fwilhe@users.noreply.github.com> Date: Thu, 19 Sep 2024 14:43:29 +0200 Subject: [PATCH] Update build-postgres-container.yml --- .github/workflows/build-postgres-container.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-postgres-container.yml b/.github/workflows/build-postgres-container.yml index b1cb49e..07a9aab 100644 --- a/.github/workflows/build-postgres-container.yml +++ b/.github/workflows/build-postgres-container.yml @@ -54,7 +54,8 @@ jobs: if: ${{ matrix.image_variant == 'fulldata' }} run: | rm glvd.sql - gh run download 10886065469 -n glvd.sql --repo gardenlinux/glvd-contrib + LATEST_RUN_ID=$(gh run list --repo gardenlinux/glvd-contrib --branch main --json workflowDatabaseId --limit 1 | jq -r '.[0].workflowDatabaseId') + gh run download $LATEST_RUN_ID -n glvd.sql --repo gardenlinux/glvd-contrib ls -la env: GH_TOKEN: ${{ github.token }}