diff --git a/.github/workflows/build_development.yml b/.github/workflows/build_development.yml index 1d8808c..2b0786d 100644 --- a/.github/workflows/build_development.yml +++ b/.github/workflows/build_development.yml @@ -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 diff --git a/.github/workflows/build_jar.yml b/.github/workflows/build_jar.yml deleted file mode 100644 index 06b05b0..0000000 --- a/.github/workflows/build_jar.yml +++ /dev/null @@ -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 \ No newline at end of file