Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Anzeige für Zielselektion des Turms #766

Anzeige für Zielselektion des Turms

Anzeige für Zielselektion des Turms #766

Workflow file for this run

name: Pull Requests
concurrency:
group: ${{ github.head_ref }}
cancel-in-progress: true
on:
pull_request_target:
types:
- synchronize
- opened
branches-ignore:
- main
jobs:
change-detection:
uses: ./.github/workflows/change-detection.yml
build-documentation:
name: Build the documentation
needs: change-detection
if: needs.change-detection.outputs.docs == 'true'
uses: ./.github/workflows/documentation.yml
with:
ref: "refs/pull/${{ github.event.number }}/merge"
lint:
name: Lint code base
needs: change-detection
if: needs.change-detection.outputs.unity == 'true'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: "refs/pull/${{ github.event.number }}/merge"
- uses: ./.github/actions/linter
fail-on-enabled-steam-integration:
name: Fail on enabled Steam integration
needs: change-detection
if: needs.change-detection.outputs.unity == 'true'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: "refs/pull/${{ github.event.number }}/merge"
- name: Check if Steam integration is enabled
shell: sh
working-directory: FairyTaleDefender/ProjectSettings
run: |
if egrep -q 'Standalone:(.*?)ENABLE_STEAM(.*?)$' ProjectSettings.asset; then
echo "PR is not valid due to enabled Steam integration. Please turn it off."
exit 1
fi