Skip to content

Commit eb6d3fd

Browse files
committed
Simplify CI workflow a bit, update README
1 parent 0203c6a commit eb6d3fd

File tree

3 files changed

+63
-72
lines changed

3 files changed

+63
-72
lines changed

.github/workflows/_publish.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

.github/workflows/ci-builds.yml

Lines changed: 56 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,63 @@
11
name: Continuous Integration
22

33
env:
4-
GH_PKG_URL: "https://maven.pkg.github.com/${{ github.repository }}"
4+
GH_PKG_URL: "https://maven.pkg.github.com/${{ github.repository }}"
55

66
on:
7-
workflow_dispatch:
8-
push:
9-
paths-ignore:
10-
- "README.md"
11-
- "LICENSE"
12-
- ".github/**/*"
13-
- "**/*.gradle.kts"
14-
- "**/gradle.properties"
7+
workflow_dispatch:
8+
9+
push:
10+
paths-ignore:
11+
- "README.md"
12+
- "LICENSE"
13+
- ".github/**/*"
14+
- "**/*.gradle.kts"
15+
- "**/gradle.properties"
1516

1617
jobs:
17-
vars:
18-
name: Get Variables
19-
runs-on: ubuntu-22.04
20-
outputs:
21-
version: ${{steps.version.outputs.version}}
22-
23-
steps:
24-
- name: Checkout
25-
uses: actions/checkout@v4
26-
with:
27-
fetch-depth: 150
28-
fetch-tags: true
29-
30-
- name: Version
31-
id: version
32-
uses: paulhatch/[email protected]
33-
with:
34-
version_format: "${major}.${minor}.${patch}"
35-
search_commit_body: true
36-
bump_each_commit: true
37-
38-
publish:
39-
needs: [vars]
40-
uses: ./.github/workflows/_publish.yml
41-
secrets: inherit
42-
with:
43-
version: ${{ needs.vars.outputs.version }}
18+
vars:
19+
name: Get Variables
20+
runs-on: ubuntu-22.04
21+
outputs:
22+
version: ${{steps.version.outputs.version}}
23+
24+
steps:
25+
- name: Checkout
26+
uses: actions/checkout@v4
27+
with:
28+
fetch-depth: 150
29+
fetch-tags: true
30+
31+
- name: Version
32+
id: version
33+
uses: paulhatch/[email protected]
34+
with:
35+
version_format: "${major}.${minor}.${patch}"
36+
search_commit_body: true
37+
bump_each_commit: true
38+
39+
publish:
40+
name: Publish Code as Github Package - ${{ inputs.version }}
41+
needs: [ vars ]
42+
runs-on: ubuntu-22.04
43+
steps:
44+
- name: Checkout
45+
uses: actions/checkout@v4
46+
with:
47+
submodules: true
48+
49+
- name: Set up JDK
50+
uses: actions/setup-java@v4
51+
with:
52+
distribution: temurin
53+
java-version: 17
54+
55+
- name: Setup Gradle
56+
uses: gradle/actions/setup-gradle@v4
57+
58+
- name: Publish
59+
run: ./gradlew :publish
60+
env:
61+
VERSION: ${{ inputs.version }}
62+
GITHUB_ACTOR: ${{ secrets.GITHUB_ACTOR }}
63+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
# Gander: A world-to-screen rendering library
22

33
Provides multiple small modules to get the common problem of "how do I render a fake world/multiblock" out of modders' hands. Stop wasting time making rendering utilities; let Gander deal with that.
4+
5+
Modules:
6+
7+
- **core**: basic files, needed for rendering + ui
8+
- **levels**: a virtual level implementation
9+
- **rendering**: a render baking and optimization layer
10+
- **ui**: widgets for showing stuff on a screen

0 commit comments

Comments
 (0)