Skip to content

Commit

Permalink
fix(ci): Force bash shell on all OSs
Browse files Browse the repository at this point in the history
Seems like Windows broke because of faulty env var expansion
  • Loading branch information
alexpovel committed Oct 22, 2023
1 parent ce3b74c commit f34af16
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ jobs:
- uses: actions/checkout@v4
- uses: swatinem/rust-cache@v2
- name: Build
shell: bash
run: >
cargo build
--release
Expand Down Expand Up @@ -165,6 +166,7 @@ jobs:
path: "$ASSET_FILE"

- name: Attach binary to release
shell: bash
env:
# `gh` blows up without token, cf.
# https://josh-ops.com/posts/gh-auth-login-in-actions/#example-2---env-variable
Expand Down

0 comments on commit f34af16

Please sign in to comment.