mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 22:28:10 +08:00
Next try
This commit is contained in:
5
.github/workflows/build-dev-and-ci.yml
vendored
5
.github/workflows/build-dev-and-ci.yml
vendored
@@ -46,9 +46,6 @@ jobs:
|
||||
echo "Latest updated version:"
|
||||
rustc --version
|
||||
|
||||
- name: 🔧 Add .cargo/bin to PATH
|
||||
run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
||||
|
||||
- name: 📜 Prepare to install Rust dependencies
|
||||
uses: cargo-bins/cargo-binstall@main
|
||||
|
||||
@@ -70,7 +67,7 @@ jobs:
|
||||
NODE_ENV: production
|
||||
run: |
|
||||
cd frontend
|
||||
npm run build
|
||||
PATH=~/.cargo/bin:$PATH npm run build
|
||||
|
||||
- name: 📤 Publish to Cloudflare Pages
|
||||
id: cloudflare
|
||||
|
||||
5
.github/workflows/build-production.yml
vendored
5
.github/workflows/build-production.yml
vendored
@@ -43,9 +43,6 @@ jobs:
|
||||
echo "Latest updated version:"
|
||||
rustc --version
|
||||
|
||||
- name: 🔧 Add .cargo/bin to PATH
|
||||
run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
||||
|
||||
- name: 📜 Prepare to install Rust dependencies
|
||||
uses: cargo-bins/cargo-binstall@main
|
||||
|
||||
@@ -65,7 +62,7 @@ jobs:
|
||||
NODE_ENV: production
|
||||
run: |
|
||||
cd frontend
|
||||
npm run build
|
||||
PATH=~/.cargo/bin:$PATH npm run build
|
||||
|
||||
- name: 📤 Publish to Cloudflare Pages
|
||||
id: cloudflare
|
||||
|
||||
@@ -69,9 +69,6 @@ jobs:
|
||||
echo "Latest updated version:"
|
||||
rustc --version
|
||||
|
||||
- name: 🔧 Add .cargo/bin to PATH
|
||||
run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
||||
|
||||
- name: 📜 Prepare to install Rust dependencies
|
||||
uses: cargo-bins/cargo-binstall@main
|
||||
|
||||
@@ -106,7 +103,7 @@ jobs:
|
||||
NODE_ENV: production
|
||||
run: |
|
||||
cd frontend
|
||||
npm run ${{ steps.build_command.outputs.command }}
|
||||
PATH=~/.cargo/bin:$PATH npm run ${{ steps.build_command.outputs.command }}
|
||||
|
||||
- name: 📤 Publish to Cloudflare Pages
|
||||
id: cloudflare
|
||||
|
||||
Reference in New Issue
Block a user