Mirror/.github/workflows/main.yml
2023-03-01 09:23:34 -05:00

40 lines
747 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 == 'master'
needs: RunUnityTests
uses: ./.github/workflows/Semantic.yml
secrets: inherit