mirror of
https://github.com/TransparentLC/opencl_vanity_gpg.git
synced 2025-10-20 15:24:08 +00:00
Update build.yml
This commit is contained in:
parent
c870fbe521
commit
880a437547
1 changed files with 4 additions and 2 deletions
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
@ -23,6 +23,8 @@ jobs:
|
|||
- uses: Swatinem/rust-cache@v2
|
||||
- name: Prepare OpenCL SDK
|
||||
shell: bash
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
run: |
|
||||
if [[ "$RUNNER_OS" == "Windows" ]]; then
|
||||
VERSION=$(gh release view --repo KhronosGroup/OpenCL-SDK --json tagName --jq .tagName)
|
||||
|
@ -38,10 +40,10 @@ jobs:
|
|||
#
|
||||
# fi
|
||||
- name: Build
|
||||
shell: bash
|
||||
id: build
|
||||
shell: bash
|
||||
run: |
|
||||
cargo build --release
|
||||
RUSTFLAGS="--remap-path-prefix $HOME=~" cargo build --release
|
||||
if [[ "$RUNNER_OS" == "Windows" ]]; then
|
||||
echo "executable=target/release/opencl_vanity_gpg.exe" >> $GITHUB_OUTPUT
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue