mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
GitHub Actions upgrades and improvements (#17627)
* Use Maven 3.9.9 * Use Ubuntu 24.04 * Verify there are no changed files Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
parent
e6056d3142
commit
b5c47cdc3d
16
.github/workflows/ci-build.yml
vendored
16
.github/workflows/ci-build.yml
vendored
@ -19,8 +19,8 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
java: [ '17', '21', 'profile-j21' ]
|
java: [ '17', '21', 'profile-j21' ]
|
||||||
maven: [ '3.9.6' ]
|
maven: [ '3.9.9' ]
|
||||||
os: [ 'ubuntu-22.04' ]
|
os: [ 'ubuntu-24.04' ]
|
||||||
name: Build (Java ${{ matrix.java }}, ${{ matrix.os }})
|
name: Build (Java ${{ matrix.java }}, ${{ matrix.os }})
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
@ -121,3 +121,15 @@ jobs:
|
|||||||
title: CheckStyle Violations
|
title: CheckStyle Violations
|
||||||
path: '**/checkstyle-result.xml'
|
path: '**/checkstyle-result.xml'
|
||||||
mode: inline
|
mode: inline
|
||||||
|
|
||||||
|
- name: Verify Changed Files
|
||||||
|
uses: tj-actions/verify-changed-files@v20
|
||||||
|
id: verify-changed-files
|
||||||
|
|
||||||
|
- name: Fail on Changed Files
|
||||||
|
if: steps.verify-changed-files.outputs.changed_files != ''
|
||||||
|
env:
|
||||||
|
CHANGED_FILES: ${{ steps.verify-changed-files.outputs.changed_files }}
|
||||||
|
run: |
|
||||||
|
echo "::error::Files have changed: $CHANGED_FILES"
|
||||||
|
exit 1
|
||||||
|
3
.gitignore
vendored
3
.gitignore
vendored
@ -5,8 +5,7 @@
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
.gradle
|
.gradle
|
||||||
*.iml
|
*.iml
|
||||||
npm-debug.log
|
*.log
|
||||||
.build.log
|
|
||||||
|
|
||||||
.metadata/
|
.metadata/
|
||||||
bin/
|
bin/
|
||||||
|
Loading…
Reference in New Issue
Block a user