Skip to content

Fix build triggers

Fix build triggers #26

Workflow file for this run

name: Build
on:
pull_request:
push:
branches: [main]
tags: v*
jobs:
build:
strategy:
matrix:
os: [windows-2022, macos-11, ubuntu-22.04]
addrsize: ["64"]
include:
- os: windows-2022
addrsize: "32"
runs-on: ${{ matrix.os }}
steps:
- name: Setup Linux Build Dependencies
if: ${{ runner.os == 'Linux' }}
shell: bash
run: sudo apt-get install libwebp-dev
- uses: secondlife/action-autobuild@v4
with:
addrsize: ${{ matrix.addrsize }}
release:
needs: build
runs-on: [ubuntu-latest]
if: startsWith(github.ref, 'refs/tags/v')
steps:
- uses: secondlife/action-autobuild-release@v3
with:
public: true