Skip to content

Commit b5c47cd

Browse files
authored
GitHub Actions upgrades and improvements (openhab#17627)
* Use Maven 3.9.9 * Use Ubuntu 24.04 * Verify there are no changed files Signed-off-by: Wouter Born <[email protected]>
1 parent e6056d3 commit b5c47cd

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

.github/workflows/ci-build.yml

+14-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ jobs:
1919
fail-fast: false
2020
matrix:
2121
java: [ '17', '21', 'profile-j21' ]
22-
maven: [ '3.9.6' ]
23-
os: [ 'ubuntu-22.04' ]
22+
maven: [ '3.9.9' ]
23+
os: [ 'ubuntu-24.04' ]
2424
name: Build (Java ${{ matrix.java }}, ${{ matrix.os }})
2525
runs-on: ${{ matrix.os }}
2626
steps:
@@ -121,3 +121,15 @@ jobs:
121121
title: CheckStyle Violations
122122
path: '**/checkstyle-result.xml'
123123
mode: inline
124+
125+
- name: Verify Changed Files
126+
uses: tj-actions/verify-changed-files@v20
127+
id: verify-changed-files
128+
129+
- name: Fail on Changed Files
130+
if: steps.verify-changed-files.outputs.changed_files != ''
131+
env:
132+
CHANGED_FILES: ${{ steps.verify-changed-files.outputs.changed_files }}
133+
run: |
134+
echo "::error::Files have changed: $CHANGED_FILES"
135+
exit 1

.gitignore

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
.DS_Store
66
.gradle
77
*.iml
8-
npm-debug.log
9-
.build.log
8+
*.log
109

1110
.metadata/
1211
bin/

0 commit comments

Comments
 (0)