Mirror/.github/workflows/main.yml

40 lines
752 B
YAML
Raw Permalink Normal View History

2023-01-20 07:34:29 +00:00
name: Main
on:
2023-01-20 07:31:13 +00:00
workflow_dispatch:
pull_request:
push:
branches:
- master
paths-ignore:
- 'Packages/**'
- 'ProjectSettings/**'
2023-01-20 06:46:31 +00:00
- '.github/**'
- '.gitattributes'
- '.gitignore'
- '.editorconfig'
2023-01-20 06:57:00 +00:00
- 'LICENSE'
- '*.md'
- '*.yml'
2023-01-20 06:57:00 +00:00
- '*.txt'
- '*.ps1'
jobs:
RunUnityTests:
name: Run Unity Tests
2023-01-20 07:31:13 +00:00
uses: ./.github/workflows/RunUnityTests.yml
secrets: inherit
#SonarQube:
# name: SonarQube Analysis
# needs: RunUnityTests
# uses: ./.github/workflows/SonarQube.yml
2023-01-20 07:31:13 +00:00
# secrets: inherit
Release:
name: Semantic Release
2023-03-01 20:34:22 +00:00
if: github.event_name == 'push'
needs: RunUnityTests
uses: ./.github/workflows/Semantic.yml
2023-01-20 07:31:13 +00:00
secrets: inherit