This commit is contained in:
4
.github/workflows/build_development.yml
vendored
4
.github/workflows/build_development.yml
vendored
@@ -7,7 +7,7 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-24.04
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
@@ -29,7 +29,7 @@ jobs:
|
||||
run: mv build/libs/*.jar build/libs/nuggetmod-dev.jar
|
||||
|
||||
- name: Upload build artifacts
|
||||
uses: actions/upload-artifact@v4.5.0
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: nuggetmod-dev
|
||||
path: build/libs/nuggetmod-dev.jar
|
||||
|
||||
34
.github/workflows/build_jar.yml
vendored
34
.github/workflows/build_jar.yml
vendored
@@ -1,34 +0,0 @@
|
||||
name: Nightly Builds
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 0 * * *' # Runs at midnight UTC every day
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up JDK 21
|
||||
uses: actions/setup-java@v4.6.0
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
java-version: '21'
|
||||
|
||||
- name: Grant execute permission for gradlew
|
||||
run: chmod +x gradlew
|
||||
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew build
|
||||
|
||||
- name: Rename build artifact
|
||||
run: mv build/libs/*.jar build/libs/nuggetmod-nightly.jar
|
||||
|
||||
- name: Upload build artifacts
|
||||
uses: actions/upload-artifact@v4.5.0
|
||||
with:
|
||||
name: nuggetmod-nightly
|
||||
path: build/libs/nuggetmod-nightly.jar
|
||||
Reference in New Issue
Block a user