-
-
Notifications
You must be signed in to change notification settings - Fork 55
111 lines (98 loc) · 2.98 KB
/
build-jars-on-push.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
name: Build Jars on Push
on:
push:
branches:
- main
- develop
- feature/**
jobs:
changes:
runs-on: ubuntu-latest
outputs:
plugin: ${{ steps.changes.outputs.plugin }}
steps:
- uses: actions/checkout@v3
- uses: dorny/paths-filter@v2
id: changes
with:
filters: |
plugin:
- plugin/**
- app/**
basic_adapter:
- adapters/BasicAdapter/**
citizens_adapter:
- adapters/CitizensAdapter/**
combat_log_x_adapter:
- adapters/CombatLogXAdapter/**
mythic_mobs_adapter:
- adapters/MythicMobsAdapter/**
rpg_regions_adapter:
- adapters/RPGRegionsAdapter/**
superior_skyblock_adapter:
- adapters/SuperiorSkyblockAdapter/**
vault_adapter:
- adapters/VaultAdapter/**
worldguard_adapter:
- adapters/WorldGuardAdapter/**
build-plugin:
name: Build Typewriter Plugin
needs: changes
if: needs.changes.outputs.plugin == 'true'
uses: ./.github/workflows/build-plugin.yml
build-adapter-basic:
name: Build Basic Adapter
needs: changes
if: needs.changes.outputs.basic_adapter == 'true'
uses: ./.github/workflows/build-adapter.yml
with:
adapter: BasicAdapter
build-adapter-citizens:
name: Build Citizens Adapter
needs: changes
if: needs.changes.outputs.citizens_adapter == 'true'
uses: ./.github/workflows/build-adapter.yml
with:
adapter: CitizensAdapter
build-adapter-combat-log-x:
name: Build CombatLogX Adapter
needs: changes
if: needs.changes.outputs.combat_log_x_adapter == 'true'
uses: ./.github/workflows/build-adapter.yml
with:
adapter: CombatLogXAdapter
build-adapter-mythic-mobs:
name: Build MythicMobs Adapter
needs: changes
if: needs.changes.outputs.mythic_mobs_adapter == 'true'
uses: ./.github/workflows/build-adapter.yml
with:
adapter: MythicMobsAdapter
build-adapter-rpg-regions:
name: Build RPGRegions Adapter
needs: changes
if: needs.changes.outputs.rpg_regions_adapter == 'true'
uses: ./.github/workflows/build-adapter.yml
with:
adapter: RPGRegionsAdapter
build-adapter-superior-skyblock:
name: Build SuperiorSkyblock Adapter
needs: changes
if: needs.changes.outputs.superior_skyblock_adapter == 'true'
uses: ./.github/workflows/build-adapter.yml
with:
adapter: SuperiorSkyblockAdapter
build-adapter-vault:
name: Build Vault Adapter
needs: changes
if: needs.changes.outputs.vault_adapter == 'true'
uses: ./.github/workflows/build-adapter.yml
with:
adapter: VaultAdapter
build-adapter-worldguard:
name: Build WorldGuard Adapter
needs: changes
if: needs.changes.outputs.world_guard_adapter == 'true'
uses: ./.github/workflows/build-adapter.yml
with:
adapter: WorldGuardAdapter