1
0
Fork 0
mirror of https://github.com/TransparentLC/opencl_vanity_gpg.git synced 2025-10-20 07:14:09 +00:00

Update build.yml

This commit is contained in:
✨小透明・宸✨ 2025-01-09 00:02:45 +08:00
parent c870fbe521
commit 880a437547
No known key found for this signature in database
GPG key ID: C90F42D9852EE21E

View file

@ -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