mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
40 lines
797 B
YAML
40 lines
797 B
YAML
name: Main
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths-ignore:
|
|
- 'Packages/**'
|
|
- 'ProjectSettings/**'
|
|
- '.github/**'
|
|
- '.gitattributes'
|
|
- '.gitignore'
|
|
- '.editorconfig'
|
|
- 'LICENSE'
|
|
- '*.md'
|
|
- '*.yml'
|
|
- '*.txt'
|
|
- '*.ps1'
|
|
|
|
jobs:
|
|
RunUnityTests:
|
|
name: Run Unity Tests
|
|
uses: ./.github/workflows/RunUnityTests.yml
|
|
secrets: inherit
|
|
|
|
#SonarQube:
|
|
# name: SonarQube Analysis
|
|
# needs: RunUnityTests
|
|
# uses: ./.github/workflows/SonarQube.yml
|
|
# secrets: inherit
|
|
|
|
Release:
|
|
name: Semantic Release
|
|
if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request'
|
|
needs: RunUnityTests
|
|
uses: ./.github/workflows/Semantic.yml
|
|
secrets: inherit
|