Skip to content

Commit

Permalink
add stockfish env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregor Zweig committed Dec 21, 2023
1 parent f73dfa4 commit 4614d70
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,26 @@ jobs:
- name: Install frontend dependencies
run: pnpm install

- run: echo "STOCKFISH_VERSION=16" >> $GITHUB_ENV
- run: echo "STOCKFISH_PLATFORM=ubuntu" >> $GITHUB_ENV
if: matrix.platform == 'ubuntu-20.04'
- run: echo "STOCKFISH_PLATFORM=windows" >> $GITHUB_ENV
if: matrix.platform == 'windows-latest'
- run: echo "STOCKFISH_PLATFORM=macos" >> $GITHUB_ENV
if: matrix.platform == 'macos-latest'

- name: Install Stockfish
run: make stockfish
if: steps.stockfish-cache.outputs.cache-hit != 'true'
env:
STOCKFISH_VERSION: ${{ env.STOCKFISH_VERSION }}
STOCKFISH_PLATFORM: ${{ env.STOCKFISH_PLATFORM }}

- name: Generate Target Triples
run: |
mkdir src-tauri/bin
node scripts/generateTargetTriple.js
- uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 4614d70

Please sign in to comment.