Summary: Pull Request resolved: https://github.com/facebook/yoga/pull/1467 1. Avoid reusing workflow names between validation and publish jobs, since they show up with the same UI when wanting to adhoc trigger a publish. 2. Merge SwiftPM checks into Validate Apple job 3. Merge remnants of website-next workflow into website workflow (and remove a redundant explicit build step already removed in one workflow) 4. Run more validation on push to release branch 5. Do not run website validation off of main, since it is only ever deployed from main branch Reviewed By: cipolleschi Differential Revision: D51236885 fbshipit-source-id: dd8165aa9871f173d8914f345569c6cde1edda72
28 lines
521 B
YAML
28 lines
521 B
YAML
name: Validate Android
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- main
|
|
- 'release-*'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
name: Build [${{ matrix.os }}][${{ matrix.mode }}]
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
mode: [Debug, Release]
|
|
os: [ubuntu-latest, windows-latest]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Setup
|
|
uses: ./.github/actions/setup-android
|
|
|
|
- name: Build
|
|
run: ./gradlew assemble${{ matrix.mode }} --stacktrace
|