Skip to content

Commit

Permalink
fix releases
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeroen Nijhuis committed Dec 21, 2023
1 parent 7d07cce commit 81d5060
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,23 @@ jobs:
sudo apt-get update
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf
- name: Build Vite + Tauri
- name: Install OpenSSL (Windows only)
if: matrix.platform == 'windows-latest'
run: |
choco install openssl
mkdir -p "C:\Program Files\OpenSSL\ca"
curl -o "C:\Program Files\OpenSSL\ca\cacert.pem" https://curl.se/ca/cacert.pem
- name: Build Vite + Tauri (MacOS + Linux)
if: matrix.platform != 'windows-latest'
run: npm run build

- name: Build Vite + Tauri (Windows)
if: matrix.platform == 'windows-latest'
env:
OPENSSL_DIR: 'C:\Program Files\OpenSSL'
SSL_CERT_FILE: 'C:\Program Files\OpenSSL\ca\cacert.pem'
OPENSSL_NO_VENDOR: 1
run: npm run build

- name: Create release
Expand Down

0 comments on commit 81d5060

Please sign in to comment.