diff options
| author | 2023-11-28 09:38:33 +0100 | |
|---|---|---|
| committer | 2023-11-28 09:38:33 +0100 | |
| commit | 5df82c380955b452e5096ab9a4f1e66afc9bd18a (patch) | |
| tree | e3a5a6d2006787f2668e47bca34fb46beb40250c /.github | |
| parent | Fix checkstyle (diff) | |
| parent | Update deps (#535) (diff) | |
| download | enigma-5df82c380955b452e5096ab9a4f1e66afc9bd18a.tar.gz enigma-5df82c380955b452e5096ab9a4f1e66afc9bd18a.tar.xz enigma-5df82c380955b452e5096ab9a4f1e66afc9bd18a.zip | |
Merge branch 'upstream' into mapping-io
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/build.yml | 6 | ||||
| -rw-r--r-- | .github/workflows/release.yml | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f2fbb3a6..64108e6c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml | |||
| @@ -4,13 +4,13 @@ jobs: | |||
| 4 | build: | 4 | build: |
| 5 | strategy: | 5 | strategy: |
| 6 | matrix: | 6 | matrix: |
| 7 | java: [ 17-jdk, 19-jdk ] | 7 | java: [ 17-ubuntu, 21-ubuntu ] |
| 8 | runs-on: ubuntu-22.04 | 8 | runs-on: ubuntu-22.04 |
| 9 | container: | 9 | container: |
| 10 | image: eclipse-temurin:${{ matrix.java }} | 10 | image: mcr.microsoft.com/openjdk/jdk:${{ matrix.java }} |
| 11 | options: --user root | 11 | options: --user root |
| 12 | steps: | 12 | steps: |
| 13 | - uses: actions/checkout@v3 | 13 | - uses: actions/checkout@v4 |
| 14 | - run: ./gradlew build --stacktrace --warning-mode fail | 14 | - run: ./gradlew build --stacktrace --warning-mode fail |
| 15 | - uses: Juuxel/publish-checkstyle-report@v1 | 15 | - uses: Juuxel/publish-checkstyle-report@v1 |
| 16 | if: ${{ failure() }} | 16 | if: ${{ failure() }} |
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 87fd901a..5a5d0b4b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml | |||
| @@ -4,10 +4,10 @@ jobs: | |||
| 4 | build: | 4 | build: |
| 5 | runs-on: ubuntu-22.04 | 5 | runs-on: ubuntu-22.04 |
| 6 | container: | 6 | container: |
| 7 | image: eclipse-temurin:19-jdk | 7 | image: mcr.microsoft.com/openjdk/jdk:21-ubuntu |
| 8 | options: --user root | 8 | options: --user root |
| 9 | steps: | 9 | steps: |
| 10 | - uses: actions/checkout@v3 | 10 | - uses: actions/checkout@v4 |
| 11 | - run: ./gradlew checkVersion build publish --stacktrace | 11 | - run: ./gradlew checkVersion build publish --stacktrace |
| 12 | env: | 12 | env: |
| 13 | MAVEN_URL: ${{ secrets.MAVEN_URL }} | 13 | MAVEN_URL: ${{ secrets.MAVEN_URL }} |