2023-01-20 07:34:29 +00:00
|
|
|
name: Main
|
2020-03-01 15:02:27 +00:00
|
|
|
|
2023-01-09 11:14:04 +00:00
|
|
|
on:
|
2023-01-20 07:31:13 +00:00
|
|
|
workflow_dispatch:
|
2023-02-07 05:00:11 +00:00
|
|
|
pull_request:
|
2023-11-12 08:30:16 +00:00
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
paths-ignore:
|
|
|
|
- 'Packages/**'
|
|
|
|
- 'ProjectSettings/**'
|
|
|
|
- '.github/**'
|
|
|
|
- '.gitattributes'
|
|
|
|
- '.gitignore'
|
|
|
|
- '.editorconfig'
|
|
|
|
- 'LICENSE'
|
|
|
|
- '**.md'
|
|
|
|
- '**.yml'
|
|
|
|
- '**.txt'
|
|
|
|
- '**.ps1'
|
2020-03-01 15:02:27 +00:00
|
|
|
push:
|
2023-01-09 11:14:04 +00:00
|
|
|
branches:
|
|
|
|
- master
|
2020-03-01 15:02:27 +00:00
|
|
|
paths-ignore:
|
2023-01-09 11:14:04 +00:00
|
|
|
- 'Packages/**'
|
|
|
|
- 'ProjectSettings/**'
|
2023-01-20 06:46:31 +00:00
|
|
|
- '.github/**'
|
2023-01-09 11:14:04 +00:00
|
|
|
- '.gitattributes'
|
|
|
|
- '.gitignore'
|
|
|
|
- '.editorconfig'
|
2023-01-20 06:57:00 +00:00
|
|
|
- 'LICENSE'
|
2023-10-18 15:10:50 +00:00
|
|
|
- '**.md'
|
|
|
|
- '**.yml'
|
|
|
|
- '**.txt'
|
|
|
|
- '**.ps1'
|
2020-03-01 15:02:27 +00:00
|
|
|
|
|
|
|
jobs:
|
2023-01-09 11:14:04 +00:00
|
|
|
RunUnityTests:
|
|
|
|
name: Run Unity Tests
|
2023-01-20 07:31:13 +00:00
|
|
|
uses: ./.github/workflows/RunUnityTests.yml
|
|
|
|
secrets: inherit
|
2020-04-12 01:46:44 +00:00
|
|
|
|
2023-01-09 11:14:04 +00:00
|
|
|
#SonarQube:
|
|
|
|
# name: SonarQube Analysis
|
|
|
|
# needs: RunUnityTests
|
|
|
|
# uses: ./.github/workflows/SonarQube.yml
|
2023-01-20 07:31:13 +00:00
|
|
|
# secrets: inherit
|
2020-04-12 01:46:44 +00:00
|
|
|
|
2023-01-09 11:14:04 +00:00
|
|
|
Release:
|
|
|
|
name: Semantic Release
|
2023-03-01 20:34:22 +00:00
|
|
|
if: github.event_name == 'push'
|
2023-01-09 11:14:04 +00:00
|
|
|
needs: RunUnityTests
|
|
|
|
uses: ./.github/workflows/Semantic.yml
|
2023-01-20 07:31:13 +00:00
|
|
|
secrets: inherit
|