Skip to content

Commit

Permalink
Update rust.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
oberrich authored Jan 4, 2025
1 parent 4ed2822 commit e9ce73d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ jobs:

- name: Build
run: |
"PHNT_MODE=PHNT_MODE_USER" | Out-File -FilePath $env:GITHUB_ENV -Append
"PHNT_VERSION=PHNT_WIN11_24H2" | Out-File -FilePath $env:GITHUB_ENV -Append
cargo build -vv -F regenerate --target ${{ matrix.target }}
- name: Extract architecture from target triple and move bindings
Expand All @@ -93,8 +95,6 @@ jobs:
fi
# Set the architecture as an environment variable
echo "ARCH=$ARCH" >> $GITHUB_ENV
echo "PHNT_MODE=PHNT_MODE_USER" >> $GITHUB_ENV
echo "PHNT_VERSION = PHNT_WIN11_24H2" >> $GITHUB_ENV
# Path to the generated binding
GENERATED_BINDING=$(find target/${{ matrix.target }}/debug/build -type f -name "${ARCH}_bindgen.rs")
Expand Down

0 comments on commit e9ce73d

Please sign in to comment.