Skip to content

Commit

Permalink
fix: force [email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
unxsist committed Dec 29, 2024
1 parent 4d6b700 commit ee4f2ba
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 6 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
fail-fast: true
matrix:
platform: [macos-latest, ubuntu-latest, windows-latest]
platform: [macos-latest, ubuntu-22.04, windows-latest]

runs-on: ${{ matrix.platform }}
steps:
Expand All @@ -43,10 +43,17 @@ jobs:
workspaces: "./src-tauri -> target"

- name: Install Linux dependencies
if: matrix.platform == 'ubuntu-latest'
if: matrix.platform == 'ubuntu-22.04'
run: |
sudo apt-get update || true
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf
sudo apt-get install -y \
libwebkit2gtk-4.0-37=2.36.0-2ubuntu1 \
libwebkit2gtk-4.0-dev=2.36.0-2ubuntu1 \
libjavascriptcoregtk-4.0-18=2.36.0-2ubuntu1 \
libjavascriptcoregtk-4.0-dev=2.36.0-2ubuntu1 \
gir1.2-javascriptcoregtk-4.0=2.36.0-2ubuntu1 \
gir1.2-webkit2-4.0=2.36.0-2ubuntu1;
- name: Set-up OpenSSL (Windows Only)
if: matrix.platform == 'windows-latest'
Expand Down
23 changes: 19 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
args: "--target aarch64-apple-darwin"
- platform: "macos-13" # Force x86_64 build on macOS 13, as the tauri github action uses process.arch to come up with the right signature filename
args: "--target x86_64-apple-darwin"
- platform: "ubuntu-latest"
- platform: "ubuntu-22.04"
args: ""
- platform: "windows-latest"
args: ""
Expand All @@ -35,10 +35,25 @@ jobs:
cache: "npm"

- name: install dependencies (ubuntu only)
if: matrix.settings.platform == 'ubuntu-latest'
if: matrix.settings.platform == 'ubuntu-22.04'
run: |
sudo apt-get update || true
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf
sudo apt update;
sudo apt install -y \
build-essential \
curl \
wget \
file \
libssl-dev \
libgtk-3-dev \
libayatana-appindicator3-dev \
librsvg2-dev;
sudo apt install -y \
libwebkit2gtk-4.0-37=2.36.0-2ubuntu1 \
libwebkit2gtk-4.0-dev=2.36.0-2ubuntu1 \
libjavascriptcoregtk-4.0-18=2.36.0-2ubuntu1 \
libjavascriptcoregtk-4.0-dev=2.36.0-2ubuntu1 \
gir1.2-javascriptcoregtk-4.0=2.36.0-2ubuntu1 \
gir1.2-webkit2-4.0=2.36.0-2ubuntu1;
- name: Set-up OpenSSL (Windows only)
if: matrix.settings.platform == 'windows-latest'
Expand Down

0 comments on commit ee4f2ba

Please sign in to comment.