com.unity.uiextensions/.github/workflows/buildupmpackages.yml

38 lines
1.1 KiB
YAML
Raw Normal View History

2023-01-29 18:12:08 +08:00
name: Build and test UPM packages for platforms on all available Unity Versions
on:
pull_request:
branches-ignore:
- 'release'
# Ignore PRs targetting main
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
2023-02-07 20:07:01 +08:00
# Run Unity build unit tests defined in the package for a single version for feature branches
Run-Partial-Unit-Tests:
name: Run Unity Unit Tests
2023-02-07 20:07:01 +08:00
if: github.ref != 'refs/heads/development'
uses: ./.github/workflows/rununitysinglebuild.yml
with:
unityversion: 2020.3
# Run Unity multi-version build unit tests defined in the package for the development branch
Run-Full-Unit-Tests:
name: Run Unity Unit Tests
if: github.ref == 'refs/heads/development'
2023-01-29 23:54:02 +08:00
uses: ./.github/workflows/rununitybuildmultiversion.yml
# Update the package release version
Update-Version:
name: Update Package Version
uses: ./.github/workflows/tagrelease.yml
2023-01-03 21:45:10 +08:00
with:
build-target: windows
secrets: inherit