mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-04 01:50:09 +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:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: "*"
|
branches: [ release/*, master ]
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
name: Run Go Tests
|
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 }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
Loading…
Reference in New Issue
Block a user