mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-03 00:59:34 +08:00
Update build and test workflow
This commit is contained in:
parent
37954141cc
commit
e7188e877f
4
.github/workflows/build_and_test.yml
vendored
4
.github/workflows/build_and_test.yml
vendored
@ -2,13 +2,13 @@ name: Build + Test
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: "*"
|
||||
branches: [ release/*, master ]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
name: Run Go Tests
|
||||
if: github.repository == 'wailsapp/wails' && ((github.branch == 'master' || github.branch == 'release/*') || (github.event_name == 'pull_request' && github.event.review.state == 'approved'))
|
||||
if: github.repository == 'wailsapp/wails'
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
|
Loading…
Reference in New Issue
Block a user