Skip to content

Commit 0221782

Browse files
committed
Version?
1 parent e6856e5 commit 0221782

File tree

4 files changed

+81
-24
lines changed

4 files changed

+81
-24
lines changed

.github/workflows/ci-builds.yml

Lines changed: 81 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,86 @@ jobs:
3535
version_format: "${major}.${minor}.${patch}"
3636
search_commit_body: true
3737
bump_each_commit: true
38+
publish-core:
39+
name: Publish Core as Github Package - ${{ needs.vars.outputs.version }}
40+
needs: [ vars ]
41+
runs-on: ubuntu-22.04
42+
steps:
43+
- name: Checkout
44+
uses: actions/checkout@v4
45+
with:
46+
submodules: true
47+
48+
- name: Set up JDK
49+
uses: actions/setup-java@v4
50+
with:
51+
distribution: temurin
52+
java-version: 17
53+
54+
- name: Setup Gradle
55+
uses: gradle/actions/setup-gradle@v4
56+
57+
- name: Publish
58+
run: ./gradlew :core:publish
59+
env:
60+
VERSION: ${{ needs.vars.outputs.version }}
61+
GITHUB_ACTOR: ${{ secrets.GITHUB_ACTOR }}
62+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
63+
64+
publish-levels:
65+
name: Publish Levels as Github Package - ${{ needs.vars.outputs.version }}
66+
needs: [ vars ]
67+
runs-on: ubuntu-22.04
68+
steps:
69+
- name: Checkout
70+
uses: actions/checkout@v4
71+
with:
72+
submodules: true
73+
74+
- name: Set up JDK
75+
uses: actions/setup-java@v4
76+
with:
77+
distribution: temurin
78+
java-version: 17
79+
80+
- name: Setup Gradle
81+
uses: gradle/actions/setup-gradle@v4
82+
83+
- name: Publish
84+
run: ./gradlew :levels:publish
85+
env:
86+
VERSION: ${{ needs.vars.outputs.version }}
87+
GITHUB_ACTOR: ${{ secrets.GITHUB_ACTOR }}
88+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
89+
90+
publish-rendering:
91+
name: Publish Rendering as Github Package - ${{ needs.vars.outputs.version }}
92+
needs: [ vars ]
93+
runs-on: ubuntu-22.04
94+
steps:
95+
- name: Checkout
96+
uses: actions/checkout@v4
97+
with:
98+
submodules: true
99+
100+
- name: Set up JDK
101+
uses: actions/setup-java@v4
102+
with:
103+
distribution: temurin
104+
java-version: 17
105+
106+
- name: Setup Gradle
107+
uses: gradle/actions/setup-gradle@v4
108+
109+
- name: Publish
110+
run: ./gradlew :rendering:publish
111+
env:
112+
VERSION: ${{ needs.vars.outputs.version }}
113+
GITHUB_ACTOR: ${{ secrets.GITHUB_ACTOR }}
114+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38115

39-
publish:
40-
name: Publish Code as Github Package - ${{ inputs.version }}
116+
publish-ui:
117+
name: Publish UI as Github Package - ${{ needs.vars.outputs.version }}
41118
needs: [ vars ]
42119
runs-on: ubuntu-22.04
43120
steps:
@@ -56,8 +133,8 @@ jobs:
56133
uses: gradle/actions/setup-gradle@v4
57134

58135
- name: Publish
59-
run: ./gradlew :publish
136+
run: ./gradlew :ui:publish
60137
env:
61-
VERSION: ${{ inputs.version }}
138+
VERSION: ${{ needs.vars.outputs.version }}
62139
GITHUB_ACTOR: ${{ secrets.GITHUB_ACTOR }}
63140
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

core/build.gradle.kts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
val isRelease: Boolean = (System.getenv("RELEASE") ?: "false").equals("true", true)
2-
31
plugins {
42
id("gander-convention")
53
}

levels/build.gradle.kts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
11
plugins {
22
id("gander-convention")
33
}
4-
5-
// simply exists to apply the module convention script
6-
// sets up MDG workspace and includes manifest data from resources dir
7-
// additional setup specific to this module may be applied here
8-
9-
//mixin {
10-
// add(sourceSets[SourceSet.MAIN_SOURCE_SET_NAME], "gander_levels.mixins.json")
11-
// config("gander_levels.mixins.json")
12-
//}

rendering/build.gradle.kts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
11
plugins {
22
id("gander-convention")
33
}
4-
5-
// simply exists to apply the module convention script
6-
// sets up MDG workspace and includes manifest data from resources dir
7-
// additional setup specific to this module may be applied here
8-
9-
//mixin {
10-
// add(sourceSets[SourceSet.MAIN_SOURCE_SET_NAME], "gander_render.mixins.json")
11-
// config("gander_render.mixins.json")
12-
//}

0 commit comments

Comments
 (0)