Skip to content

Commit

Permalink
Fix up dependency installs + actually trigger 4.1 flag
Browse files Browse the repository at this point in the history
Signed-off-by: Marcus Crane <[email protected]>
  • Loading branch information
marcus-crane committed Dec 7, 2024
1 parent 317db67 commit 5d9510a
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,17 @@ jobs:

# Dependencies

## Linux

## Linux (webkit2gtk-4.0)
- name: Install Ubuntu prerequisites
if: runner.os == 'Linux'
if: runner.os == 'Linux' && matrix.build.tag == 'linux_amd64_webkit2gtk40'
shell: bash
run: sudo apt-get update && sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev

## Linux (webkit2gtk-4.1)
- name: Install Ubuntu prerequisites
if: runner.os == 'Linux' && matrix.build.tag == 'linux_amd64'
shell: bash
run: sudo apt-get update && sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev

## macOS
- name: Setup Gon
Expand Down Expand Up @@ -125,7 +130,7 @@ jobs:
- name: Build wails app for Linux (webkit2gtk-4.1)
if: runner.os == 'Linux' && matrix.build.tag == 'linux_amd64'
shell: bash
run: wails build -platform ${{ matrix.build.platform }} -ldflags "-X main.version=v${{ steps.normalise_version.outputs.version }}"
run: wails build -platform ${{ matrix.build.platform }} -tags webkit2_41 -ldflags "-X main.version=v${{ steps.normalise_version.outputs.version }}"

## macOS
- name: Build wails app for macOS
Expand Down

0 comments on commit 5d9510a

Please sign in to comment.