Update GitHub (Gitea) workflow
Some checks failed
Java CI with Gradle / build (push) Failing after 15s
Some checks failed
Java CI with Gradle / build (push) Failing after 15s
This commit is contained in:
parent
62bccc2452
commit
83d42630d8
39
.gitea/workflows/gradle.yml
Normal file
39
.gitea/workflows/gradle.yml
Normal file
@ -0,0 +1,39 @@
|
||||
name: Java CI with Gradle
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "master" ]
|
||||
pull_request:
|
||||
branches: [ "master" ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: archlinux-latest
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
steps:
|
||||
- name: Install prerequisite packages
|
||||
run: pacman -Syu --noconfirm && pacman -S --noconfirm git
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up JDK 21
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '21'
|
||||
distribution: 'temurin'
|
||||
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v4
|
||||
|
||||
- name: Build with Gradle Wrapper
|
||||
run: ./gradlew build
|
||||
|
||||
- name: Upload build artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: JARs
|
||||
path: build/libs
|
34
.github/workflows/gradle.yml
vendored
34
.github/workflows/gradle.yml
vendored
@ -1,34 +0,0 @@
|
||||
name: Java CI with Gradle
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "master" ]
|
||||
pull_request:
|
||||
branches: [ "master" ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: archlinux-latest
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up JDK 21
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '21'
|
||||
distribution: 'temurin'
|
||||
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v4
|
||||
|
||||
- name: Build with Gradle Wrapper
|
||||
run: ./gradlew build
|
||||
|
||||
- name: Upload build artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: JARs
|
||||
path: build/libs
|
@ -1,6 +1,6 @@
|
||||
## HotbarReplace
|
||||
|
||||
[](https://github.com/twokilohertz/HotbarReplace/actions/workflows/gradle.yml)
|
||||
[](https://git.2khz.xyz/adam/HotbarReplace/actions/workflows/gradle.yml)
|
||||
|
||||
HotbarReplace is a Minecraft mod for the Fabric modding framework which replaces blocks in your hotbar with blocks of the same type from your inventory upon running out while placing, see demo GIF below to see how it works!
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user