Skip to content

Commit

Permalink
try to fix windows CI
Browse files Browse the repository at this point in the history
  • Loading branch information
RedstoneWizard08 committed Jul 10, 2024
1 parent 7afee01 commit 5ba4aac
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 3 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,18 @@ jobs:
- name: Run conf
if: matrix.os == 'windows-latest'
run: .\apps\gui\genconf.ps1

- name: Run primsa
if: matrix.os != 'windows-latest'
run: cargo prisma generate

- name: Run conf
if: matrix.os == 'windows-latest'
run: cargo run --bin prisma-cli generate

- name: Build app
run: |
touch .env
cargo prisma generate
pnpm run build --target ${{ matrix.target }}
pnpm run app:build
pnpm run web:build
Expand Down
11 changes: 9 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -180,4 +180,9 @@ members = [
"crates/rpc-rs",
"external/prisma-client-rust/crates/lib",
"external/prisma-client-rust/crates/cli",
"external/prisma-client-rust/crates/generator",
"external/prisma-client-rust/crates/generator-macros",
"external/prisma-client-rust/crates/generator-shared",
"external/prisma-client-rust/crates/sdk",
"external/prisma-client-rust/prisma-cli",
]

0 comments on commit 5ba4aac

Please sign in to comment.