This commit is contained in:
parent
e369c72768
commit
5ffb944a29
1 changed files with 6 additions and 6 deletions
|
@ -16,25 +16,25 @@ jobs:
|
||||||
]
|
]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: checkout repository
|
- name: ⏬ Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: validate gradle wrapper
|
- name: ✅ Validate gradle wrapper
|
||||||
uses: https://github.com/gradle/wrapper-validation-action@v2
|
uses: https://github.com/gradle/wrapper-validation-action@v2
|
||||||
|
|
||||||
- name: setup jdk ${{ matrix.java }}
|
- name: 🛠️ Setup JDK ${{ matrix.java }}
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
java-version: ${{ matrix.java }}
|
java-version: ${{ matrix.java }}
|
||||||
distribution: "microsoft"
|
distribution: "microsoft"
|
||||||
|
|
||||||
- name: make gradle wrapper executable
|
- name: ▶️ Make gradle wrapper executable
|
||||||
run: chmod +x ./gradlew
|
run: chmod +x ./gradlew
|
||||||
|
|
||||||
- name: build
|
- name: 🔧 Build ExploreCraft Tweaks
|
||||||
run: ./gradlew build
|
run: ./gradlew build
|
||||||
|
|
||||||
- name: capture build artifacts
|
- name: 🫳 Capture build artifacts
|
||||||
if: ${{ matrix.java == '21' }} # Only upload artifacts built from latest java
|
if: ${{ matrix.java == '21' }} # Only upload artifacts built from latest java
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue