Skip to content

Commit

Permalink
build cargo withour actions-rs
Browse files Browse the repository at this point in the history
  • Loading branch information
selimseker committed Sep 6, 2024
1 parent f208085 commit 2f3a18e
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions .github/workflows/build_prod_exe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,18 +64,28 @@ jobs:
echo "PKG_CONFIG_PATH=C:\\Program Files\\OpenSSL-Win64\\lib\\pkgconfig" >> $GITHUB_ENV
fi
- name: Build
uses: actions-rs/cargo@v1
env:
OPENSSL_DIR: ${{ env.OPENSSL_DIR }}
OPENSSL_INCLUDE_DIR: ${{ env.OPENSSL_INCLUDE_DIR }}
OPENSSL_LIB_DIR: ${{ env.OPENSSL_LIB_DIR }}
PKG_CONFIG_PATH: ${{ env.PKG_CONFIG_PATH }}
with:
use-cross: true
command: build
args: --verbose --release --target ${{ matrix.target }}

run: |
echo $OPENSSL_DIR
echo $OPENSSL_INCLUDE_DIR
echo $OPENSSL_LIB_DIR
echo $PKG_CONFIG_PATH
cargo build --verbose --release --target ${{ matrix.target }}
# - name: Build
# uses: actions-rs/cargo@v1
# env:
# with:
# use-cross: true
# command: build
# args: --verbose --release --target ${{ matrix.target }}

- name: Prepare Release File
env:
Expand Down

0 comments on commit 2f3a18e

Please sign in to comment.