Skip to content

Commit abb8024

Browse files
committed
fix: disable codespaces and enable pages build on codespaces success
1 parent 9467de3 commit abb8024

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929
3030
build:
3131
runs-on: ubuntu-latest
32+
needs:
33+
- codespaces
3234
steps:
3335
- name: Checkout repository
3436
uses: actions/checkout@v4

run_once_230_rust_packages.sh.tmpl

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,9 @@ if [[ -n "${DRY_RUN}" && "${DRY_RUN}" == true ]]; then
66
fi
77

88
{{ if (and (eq .chezmoi.os "linux") (not .codespaces)) -}}
9-
CARGO_BIN="$HOME/.cargo/bin/cargo"
10-
{{ else -}}
11-
CARGO_BIN="cargo"
12-
{{ end -}}
13-
149
# install Rust global packages
15-
"$CARGO_BIN" install \
10+
"$HOME/.cargo/bin/cargo" install \
1611
dotenv-linter \
1712
hexyl \
1813
petname
14+
{{ end -}}

0 commit comments

Comments
 (0)