Skip to content

Commit de0e268

Browse files
authored
GitHub Actions upgrades and improvements (#470)
* Use Maven 3.9.9 * Use Ubuntu 24.04 * Verify there are no changed files Signed-off-by: Wouter Born <github@maindrain.net>
1 parent 968bd46 commit de0e268

2 files changed

Lines changed: 15 additions & 2 deletions

File tree

.github/workflows/ci-build.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ jobs:
1919
fail-fast: false
2020
matrix:
2121
java: [ '11' ]
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:
@@ -78,3 +78,15 @@ jobs:
7878
with:
7979
name: sat-summary-report
8080
path: target/summary_report.html
81+
82+
- name: Verify Changed Files
83+
uses: tj-actions/verify-changed-files@v20
84+
id: verify-changed-files
85+
86+
- name: Fail on Changed Files
87+
if: steps.verify-changed-files.outputs.changed_files != ''
88+
env:
89+
CHANGED_FILES: ${{ steps.verify-changed-files.outputs.changed_files }}
90+
run: |
91+
echo "::error::Files have changed: $CHANGED_FILES"
92+
exit 1

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
*.class
2+
*.log
23
target/
34

45
# Mobile Tools for Java (J2ME)

0 commit comments

Comments
 (0)