Skip to content

Commit

Permalink
Tweak to try and get database build working
Browse files Browse the repository at this point in the history
  • Loading branch information
hortha committed Aug 12, 2024
1 parent b36842c commit 97f5887
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/dbml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
psql -c '\dt' | sed '1,3d' | head -n -2 | sed 's/ //g' | cut -d'|' -f 2 | tr '\n' ' ' | xargs printf -- ' -t %s' | xargs pg_dump --schema-only >trs.dump
- name: Create dbml file
run: npx -p @dbml/cli sql2dbml trs.dump --postgres -o trs.dbml
run: npx -p @dbml/cli@3.6.2 sql2dbml trs.dump --postgres -o trs.dbml

- name: Publish dbml file
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 97f5887

Please sign in to comment.