-
-
Notifications
You must be signed in to change notification settings - Fork 2
49 lines (44 loc) · 2.47 KB
/
after-build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# ----------------------------------------------------------------------------
# GitHub Actions workflow that causes rebuild of all CGE repos
# that rely on CGE Docker images.
# This allows to test that the new CGE (Docker, GitHub code) is compatible
# with all CGE projects.
# ----------------------------------------------------------------------------
name: After Build
# Called by other xxx.yml
on:
workflow_call:
secrets:
GH_TOKEN_DISPATCH_AFTER_UPDATE:
description: 'GitHub token to allow dispatching workflows to all other CGE repos'
required: true
defaults:
run:
shell: bash
jobs:
dispatch-rebuild:
name: Dispatch Rebuild To Other Repos
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Make https://github.com/castle-engine/castle-engine-docker
# rebuild Docker image with the latest CGE snapshot.
- name: Dispatch updating Docker cge-unstable
env:
GH_TOKEN: ${{ secrets.GH_TOKEN_DISPATCH_AFTER_UPDATE }}
run: |
./dispatch_cge_docker_unstable_changed.sh "${{ github.sha }}" castle-engine/castle-model-viewer
./dispatch_cge_docker_unstable_changed.sh "${{ github.sha }}" castle-engine/castle-model-viewer-mobile
./dispatch_cge_docker_unstable_changed.sh "${{ github.sha }}" castle-engine/cge-www
./dispatch_cge_docker_unstable_changed.sh "${{ github.sha }}" castle-engine/castle-image-viewer
./dispatch_cge_docker_unstable_changed.sh "${{ github.sha }}" castle-engine/castle-game
./dispatch_cge_docker_unstable_changed.sh "${{ github.sha }}" castle-engine/lynch
./dispatch_cge_docker_unstable_changed.sh "${{ github.sha }}" castle-engine/castle-openai
./dispatch_cge_docker_unstable_changed.sh "${{ github.sha }}" castle-engine/rayhunter
./dispatch_cge_docker_unstable_changed.sh "${{ github.sha }}" castle-engine/castle-radiance-transfer
./dispatch_cge_docker_unstable_changed.sh "${{ github.sha }}" castle-engine/kambi-lines
./dispatch_cge_docker_unstable_changed.sh "${{ github.sha }}" castle-engine/glplotter
./dispatch_cge_docker_unstable_changed.sh "${{ github.sha }}" castle-engine/castle-library-model-viewer
./dispatch_cge_docker_unstable_changed.sh "${{ github.sha }}" cat-astrophe-games/dragon-squash
./dispatch_cge_docker_unstable_changed.sh "${{ github.sha }}" cat-astrophe-games/escape-universe
./dispatch_cge_docker_unstable_changed.sh "${{ github.sha }}" cat-astrophe-games/unholy-society