Skip to content

Commit

Permalink
Attempt to add webkit2_41 tag when building on linux to fix Ubuntu 24…
Browse files Browse the repository at this point in the history
….04 issues in CI
  • Loading branch information
thomas-senechal committed Aug 29, 2024
1 parent 178a85b commit 0277f70
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,11 @@ jobs:
if: matrix.target != 'darwin'
shell: bash
run: |
go build -tags desktop,production -ldflags "-w -s ${{ matrix.ldflags }}" -o $TARGET_NAME${{ matrix.ext }} main.go
TAGS="desktop,production"
if [ "${{ matrix.target }}" == "linux" ]; then
TAGS="$TAGS,webkit2_41"
fi
go build -tags "$TAGS" -ldflags "-w -s ${{ matrix.ldflags }}" -o $TARGET_NAME${{ matrix.ext }} main.go
- name: Build binary for MacOS ${{ matrix.arch }}
if: matrix.target == 'darwin'
Expand All @@ -93,7 +97,7 @@ jobs:
GCP_SERVICE_ACCOUNT: ${{ vars.GCP_SERVICE_ACCOUNT }}

- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.TARGET_NAME }}
path: |
Expand Down

0 comments on commit 0277f70

Please sign in to comment.