mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
dccc315869
* Bump actions/setup-java from 1.4.3 to 2.2.0 Bumps [actions/setup-java](https://github.com/actions/setup-java) from 1.4.3 to 2.2.0. - [Release notes](https://github.com/actions/setup-java/releases) - [Commits](https://github.com/actions/setup-java/compare/v1.4.3...v2.2.0) --- updated-dependencies: - dependency-name: actions/setup-java dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Fix the breaking change the 2.x branch of the action added There is a breaking change which Dependabot hasn't picked up on which causes this to not play ball. This should resolve said issue. Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Wild1145 <Wild1145@users.noreply.github.com>
30 lines
595 B
YAML
30 lines
595 B
YAML
name: Maven-Build
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
# Java 11 Builds
|
|
- uses: actions/checkout@v1
|
|
- name: Set up JDK 11
|
|
uses: actions/setup-java@v2.2.0
|
|
with:
|
|
java-version: 11
|
|
distribution: 'adopt'
|
|
- name: Build with Maven
|
|
run: mvn -B package --file pom.xml
|
|
|
|
# Java 16 Builds
|
|
- uses: actions/checkout@v1
|
|
- name: Set up JDK 16
|
|
uses: actions/setup-java@v2.2.0
|
|
with:
|
|
java-version: 16
|
|
distribution: 'adopt'
|
|
- name: Build with Maven
|
|
run: mvn -B package --file pom.xml
|