Skip to content

Commit

Permalink
fix(ci): escape backslash
Browse files Browse the repository at this point in the history
  • Loading branch information
oberrich committed Jan 11, 2025
1 parent 8138099 commit 6a413aa
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ jobs:
)
$paths = @(
"$env:ProgramFiles\Git\cmd", # Git
"$env:ProgramFiles\Git\bin", # Bash
"$env:ProgramData\chocolatey\bin", # Chocolatey
"$env:USERPROFILE\.cargo\bin" # Rust
"$env:ProgramFiles\\Git\\cmd", # Git
"$env:ProgramFiles\\Git\\bin", # Bash
"$env:ProgramData\\chocolatey\\bin", # Chocolatey
"$env:USERPROFILE\\.cargo\\bin" # Rust
)

function Log { param([string]$Message, [string]$Level = "INFO")
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
PHNT_MODE: PHNT_MODE_USER
run: |
cargo test --release -vv -F regenerate --target ${{ matrix.target }}
- name: Extract architecture from target triple and move bindings
run: |
$arch = '${{ matrix.target }}' -split '-' | Select-Object -First 1
Expand All @@ -125,15 +125,15 @@ jobs:
with:
name: ${{ env.ARCH }}_bindgen.rs
path: src/ffi/${{ env.ARCH }}_bindgen.rs

commit-and-push:
runs-on: ubuntu-latest
needs: bindgen
if: success() # Run only if the generate-bindgen job succeeds
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Download generated files
uses: actions/download-artifact@v4
with:
Expand Down

0 comments on commit 6a413aa

Please sign in to comment.