From 18fcfd9536280cf3e317e856b421eb26e57b3473 Mon Sep 17 00:00:00 2001 From: Adrian Moennich Date: Wed, 9 Oct 2024 11:27:31 +0200 Subject: [PATCH] fix --- .github/workflows/migration-sql.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/migration-sql.yml b/.github/workflows/migration-sql.yml index 21037dd1..630cffb1 100644 --- a/.github/workflows/migration-sql.yml +++ b/.github/workflows/migration-sql.yml @@ -54,8 +54,8 @@ jobs: - name: Print changed migrations if: steps.migrations-changed.outputs.changed == 'true' run: | - first_migration=$(jq -r '.[0] // empty' ~/files_created.json) - latest_migration=$(jq -r '.[-1] // empty' ~/files_created.json) + first_migration=$(echo '${{ steps.get-changed-files.outputs.files_created }}' | jq -r '.[0] // empty') + latest_migration=$(echo '${{ steps.get-changed-files.outputs.files_created }}' | jq -r '.[-1] // empty') ./ci/print_revision_sql.sh $first_migration $latest_migration > /tmp/migration-sql-data/upgrade.sql - name: Create artifact