fix workflow 2
Some checks failed
Deploy to Cloudflare Pages (cobalt) / build-and-deploy (push) Failing after 44s
Some checks failed
Deploy to Cloudflare Pages (cobalt) / build-and-deploy (push) Failing after 44s
This commit is contained in:
@@ -19,14 +19,16 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: "20"
|
node-version: "20"
|
||||||
|
|
||||||
- name: Install cobalt (prebuilt release)
|
- name: Install cobalt (prebuilt via eget)
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
curl -LSfs https://raw.githubusercontent.com/crate-ci/gh-install/master/v1/install.sh \
|
apt-get update
|
||||||
| sh -s -- --git cobalt-org/cobalt.rs --crate cobalt
|
apt-get install -y ca-certificates curl tar
|
||||||
~/.cargo/bin/cobalt --version # 動作確認
|
curl -fsSL https://zyedidia.github.io/eget.sh | sh
|
||||||
# 公式ドキュメントの「Pre-built Binary」を使用(rustc不要)。:contentReference[oaicite:1]{index=1}
|
./eget cobalt-org/cobalt.rs --to /usr/local/bin/cobalt
|
||||||
|
cobalt --version
|
||||||
|
# eget はGitHub Releasesから適切な資産を自動選択します。:contentReference[oaicite:1]{index=1}
|
||||||
|
|
||||||
- name: Build site with cobalt
|
- name: Build site with cobalt
|
||||||
run: cobalt build
|
run: cobalt build
|
||||||
|
|||||||
Reference in New Issue
Block a user