Skip to content

Commit

Permalink
fix: disable codespaces and enable pages build on codespaces success
Browse files Browse the repository at this point in the history
  • Loading branch information
0-vortex committed Dec 8, 2024
1 parent 9467de3 commit abb8024
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:
build:
runs-on: ubuntu-latest
needs:
- codespaces
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
8 changes: 2 additions & 6 deletions run_once_230_rust_packages.sh.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,9 @@ if [[ -n "${DRY_RUN}" && "${DRY_RUN}" == true ]]; then
fi

{{ if (and (eq .chezmoi.os "linux") (not .codespaces)) -}}
CARGO_BIN="$HOME/.cargo/bin/cargo"
{{ else -}}
CARGO_BIN="cargo"
{{ end -}}

# install Rust global packages
"$CARGO_BIN" install \
"$HOME/.cargo/bin/cargo" install \
dotenv-linter \
hexyl \
petname
{{ end -}}

0 comments on commit abb8024

Please sign in to comment.