mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-02 01:48:13 +08:00
Next try
This commit is contained in:
@@ -46,9 +46,6 @@ jobs:
|
|||||||
echo "Latest updated version:"
|
echo "Latest updated version:"
|
||||||
rustc --version
|
rustc --version
|
||||||
|
|
||||||
- name: 🔧 Add .cargo/bin to PATH
|
|
||||||
run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
|
||||||
|
|
||||||
- name: 📜 Prepare to install Rust dependencies
|
- name: 📜 Prepare to install Rust dependencies
|
||||||
uses: cargo-bins/cargo-binstall@main
|
uses: cargo-bins/cargo-binstall@main
|
||||||
|
|
||||||
@@ -70,7 +67,7 @@ jobs:
|
|||||||
NODE_ENV: production
|
NODE_ENV: production
|
||||||
run: |
|
run: |
|
||||||
cd frontend
|
cd frontend
|
||||||
npm run build
|
PATH=~/.cargo/bin:$PATH npm run build
|
||||||
|
|
||||||
- name: 📤 Publish to Cloudflare Pages
|
- name: 📤 Publish to Cloudflare Pages
|
||||||
id: cloudflare
|
id: cloudflare
|
||||||
|
|||||||
@@ -43,9 +43,6 @@ jobs:
|
|||||||
echo "Latest updated version:"
|
echo "Latest updated version:"
|
||||||
rustc --version
|
rustc --version
|
||||||
|
|
||||||
- name: 🔧 Add .cargo/bin to PATH
|
|
||||||
run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
|
||||||
|
|
||||||
- name: 📜 Prepare to install Rust dependencies
|
- name: 📜 Prepare to install Rust dependencies
|
||||||
uses: cargo-bins/cargo-binstall@main
|
uses: cargo-bins/cargo-binstall@main
|
||||||
|
|
||||||
@@ -65,7 +62,7 @@ jobs:
|
|||||||
NODE_ENV: production
|
NODE_ENV: production
|
||||||
run: |
|
run: |
|
||||||
cd frontend
|
cd frontend
|
||||||
npm run build
|
PATH=~/.cargo/bin:$PATH npm run build
|
||||||
|
|
||||||
- name: 📤 Publish to Cloudflare Pages
|
- name: 📤 Publish to Cloudflare Pages
|
||||||
id: cloudflare
|
id: cloudflare
|
||||||
|
|||||||
@@ -69,9 +69,6 @@ jobs:
|
|||||||
echo "Latest updated version:"
|
echo "Latest updated version:"
|
||||||
rustc --version
|
rustc --version
|
||||||
|
|
||||||
- name: 🔧 Add .cargo/bin to PATH
|
|
||||||
run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
|
||||||
|
|
||||||
- name: 📜 Prepare to install Rust dependencies
|
- name: 📜 Prepare to install Rust dependencies
|
||||||
uses: cargo-bins/cargo-binstall@main
|
uses: cargo-bins/cargo-binstall@main
|
||||||
|
|
||||||
@@ -106,7 +103,7 @@ jobs:
|
|||||||
NODE_ENV: production
|
NODE_ENV: production
|
||||||
run: |
|
run: |
|
||||||
cd frontend
|
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
|
- name: 📤 Publish to Cloudflare Pages
|
||||||
id: cloudflare
|
id: cloudflare
|
||||||
|
|||||||
Reference in New Issue
Block a user