Skip to content

Commit a7d1726

Browse files
committed
fix
1 parent 5f4b2fa commit a7d1726

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/migration-sql.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ jobs:
5454
- name: Print changed migrations
5555
if: steps.migrations-changed.outputs.changed == 'true'
5656
run: |
57-
first_migration=$(jq -r '.[0] // empty' ~/files_created.json)
58-
latest_migration=$(jq -r '.[-1] // empty' ~/files_created.json)
57+
first_migration=$(echo '${{ steps.get-changed-files.outputs.files_created }}' | jq -r '.[0] // empty')
58+
latest_migration=$(echo '${{ steps.get-changed-files.outputs.files_created }}' | jq -r '.[-1] // empty')
5959
./ci/print_revision_sql.sh $first_migration $latest_migration > /tmp/migration-sql-data/upgrade.sql
6060
6161
- name: Create artifact

0 commit comments

Comments
 (0)