Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
SKTT1Ryze committed Oct 30, 2023
1 parent eb4afb1 commit 55d5819
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/frontend_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly
- name: Generate Undeads Json
run: cargo run && cp ./undeads.json ../frontend/
- name: Generate Rust Undeads Json
run: cargo run && cp ./undeads.json ../frontend/undeads_rust.json
working-directory: ./runtime-rs
- name: Generate C++ Undeads Json
run: make & ./build/runtime && cp ./undeads.json ../frontend/undeads_cpp.json
working-directory: ./runtime-cc
- uses: actions/setup-node@v3
with:
node-version: 18
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/frontend_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,12 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly
- name: Generate Undeads Json
run: cargo run && cp ./undeads.json ../frontend/
- name: Generate Rust Undeads Json
run: cargo run && cp ./undeads.json ../frontend/undeads_rust.json
working-directory: ./runtime-rs
- name: Generate C++ Undeads Json
run: make & ./build/runtime && cp ./undeads.json ../frontend/undeads_cpp.json
working-directory: ./runtime-cc
- uses: actions/setup-node@v3
with:
node-version: 18
Expand Down

0 comments on commit 55d5819

Please sign in to comment.