Skip to content

Commit 074de79

Browse files
committed
Progress
1 parent 14f21f1 commit 074de79

File tree

21 files changed

+909
-559
lines changed

21 files changed

+909
-559
lines changed

.gitattributes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Disable autocrlf on generated files, they always generate with LF
2+
# Add any extra files or paths here to make git stop saying they
3+
# are changed when only line endings change.
4+
src/generated/**/.cache/cache text eol=lf
5+
src/generated/**/*.json text eol=lf

.github/workflows/build.yml

Lines changed: 15 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,25 @@
1-
name: Java CI with Gradle
1+
name: Build
22

3-
on: [push, pull_request, workflow_dispatch]
4-
5-
permissions:
6-
contents: read
3+
on: [push, pull_request]
74

85
jobs:
96
build:
107
runs-on: ubuntu-latest
118
steps:
12-
- uses: actions/checkout@v4
13-
- name: Set up JDK 8
9+
- name: Checkout repository
10+
uses: actions/checkout@v4
11+
with:
12+
fetch-depth: 0
13+
fetch-tags: true
14+
15+
- name: Setup JDK 21
1416
uses: actions/setup-java@v4
1517
with:
16-
java-version: '8'
18+
java-version: '21'
1719
distribution: 'temurin'
18-
- name: Validate Gradle wrapper
19-
uses: gradle/wrapper-validation-action@v1
20-
- uses: actions/cache@v4
21-
with:
22-
path: |
23-
~/.gradle/caches
24-
~/.gradle/wrapper
25-
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
26-
restore-keys: ${{ runner.os }}-gradle-
20+
21+
- name: Setup Gradle
22+
uses: gradle/actions/setup-gradle@v4
23+
2724
- name: Build with Gradle
28-
run: ./gradlew build
29-
env:
30-
GPR_USER: ${{ secrets.GPR_USER }}
31-
GPR_KEY: ${{ secrets.GPR_KEY }}
32-
- name: Archive artifacts
33-
uses: actions/upload-artifact@v4
34-
with:
35-
name: OpenComputers
36-
path: build/libs/*.jar
25+
run: ./gradlew build

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
# Debugging
1919
/eclipse
2020
/run
21+
/runs
2122

2223
# Windows...
2324
**/Thumbs.db

0 commit comments

Comments
 (0)