Skip to content

chore: bump version #41

chore: bump version

chore: bump version #41

Workflow file for this run

# Automatically build the project and run any configured tests for every push
# and submitted pull request. This can help catch issues that only occur on
# certain platforms or Java versions, and provides a first line of defence
# against bad commits.
name: build
on: [ pull_request, push, workflow_dispatch ]
jobs:
build:
strategy:
matrix:
include:
- os: ubuntu-latest
- os: windows-latest
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v7
- name: Checkout NEU Repo
uses: actions/checkout@v7
with:
repository: 'NotEnoughUpdates/NotEnoughUpdates-REPO'
path: 'NotEnoughUpdates-REPO' # This is consistent with the repo path defined in NEURepoParserTest.java
ref: '3ca1a9c42c84063aabb5d4e6820a5039c389cea5' # https://github.com/NotEnoughUpdates/NotEnoughUpdates-REPO/commit/3ca1a9c42c84063aabb5d4e6820a5039c389cea5
- name: Setup gradle
uses: gradle/actions/setup-gradle@v6
with:
cache-provider: basic
- name: Setup JDK 21
uses: actions/setup-java@v5
with:
java-version: 21
distribution: 'microsoft'
- name: Build
run: ./gradlew build
- name: Store test reports
if: failure()
uses: actions/upload-artifact@v7
with:
name: reports-${{ matrix.os }}
path: |
**/build/reports/
**/build/test-results/
- name: Capture build artifacts
uses: actions/upload-artifact@v7
with:
name: artifacts-${{ matrix.os }}
path: build/libs/