fix: ignore hotspot_indicator input event when WaitingScreen is visible #48
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Fan out changes to distinct repositories" | |
on: | |
push: | |
paths: | |
- "addons/**/*" | |
branches: | |
- "main" | |
- "develop" | |
concurrency: fanout-${{ github.ref }} | |
jobs: | |
fanout: | |
strategy: | |
matrix: | |
parts: | |
- dir: "addons/egoventure" | |
repo: "deep-entertainment/egoventure" | |
- dir: "addons/parrot" | |
repo: "deep-entertainment/parrot" | |
- dir: "addons/speedy_gonzales" | |
repo: "deep-entertainment/speedy_gonzales" | |
name: "Fanout ${{ matrix.parts.dir }} to ${{ matrix.parts.repo }}" | |
runs-on: "ubuntu-20.04" | |
env: | |
DIR: "${{matrix.parts.dir}}" | |
REPO: "${{matrix.parts.repo}}" | |
steps: | |
- name: "Configure git" | |
run: | | |
if ! git --version | grep 2.33 >/dev/null | |
then | |
sudo add-apt-repository ppa:git-core/ppa -y | |
sudo apt-get update | |
sudo apt-get install git -y | |
fi | |
- name: "Checkout" | |
uses: "actions/checkout@v2" | |
with: | |
repository: "deep-entertainment/egoventure-example-game" | |
ref: "${{github.ref_name}}" | |
path: "demo-game" | |
token: "${{ secrets.DEPLOYMENT_TOKEN }}" | |
fetch-depth: 0 | |
- name: "Filtering out ${{ env.DIR }}" | |
run: | | |
curl -s https://raw.githubusercontent.com/newren/git-filter-repo/main/git-filter-repo -o git-filter-repo | |
chmod +x git-filter-repo | |
cd demo-game | |
git remote -v | |
../git-filter-repo --path $DIR --prune-empty auto --force | |
git clean -fd | |
git status | |
- name: "Checkout" | |
uses: "actions/checkout@v2" | |
with: | |
repository: "${{ env.REPO }}" | |
ref: "${{ github.ref_name }}" | |
path: "target" | |
token: "${{ secrets.DEPLOYMENT_TOKEN }}" | |
fetch-depth: 0 | |
- name: "Apply changes" | |
run: | | |
cd target | |
git config --global user.email "[email protected]" | |
git config --global user.name "deep entertainment merge bot" | |
git pull --rebase --strategy recursive --strategy-option=ours ../demo-game ${{ github.ref_name }} | |
git status | |
git push --force |