diff --git a/.github/workflows/verify.yaml b/.github/workflows/verify.yaml index 49bd73f..b06c201 100644 --- a/.github/workflows/verify.yaml +++ b/.github/workflows/verify.yaml @@ -109,14 +109,14 @@ jobs: - name: Apply migrations if: steps.check_changes.outputs.changed == 'true' run: | - cargo run -p nxmesh-migration -- up + cd crates && sea-orm-cli migrate up - name: Regenerate entities if: steps.check_changes.outputs.changed == 'true' run: | - sea-orm-cli generate entity \ + cd crates && sea-orm-cli generate entity \ --database-url "$DATABASE_URL" \ - --output-dir apps/nxmesh-master/src/db/entities \ + --output-dir ../apps/nxmesh-master/src/db/entities \ --with-serde both \ --with-copy-enums \ --date-time-crate chrono