Skip to content

Commit

Permalink
GitHub Actions upgrades and improvements (#1695)
Browse files Browse the repository at this point in the history
* Use Maven 3.9.9
* Use Ubuntu 24.04
* Verify there are no changed files

Signed-off-by: Wouter Born <[email protected]>
  • Loading branch information
wborn authored Oct 26, 2024
1 parent 7fb8b56 commit b65e5ef
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
fail-fast: false
matrix:
java: [ '17', '21', 'profile-j21' ]
maven: [ '3.9.6' ]
os: [ 'ubuntu-22.04' ]
maven: [ '3.9.9' ]
os: [ 'ubuntu-24.04' ]
name: Build (Java ${{ matrix.java }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -91,3 +91,15 @@ jobs:
with:
name: build-log-java-${{ matrix.java }}-${{ matrix.os }}
path: build.log

- 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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
.vscode
.DS_Store
*.iml
*.log
.gradle
maven-metadata-local.xml
Californium.properties
Expand Down

0 comments on commit b65e5ef

Please sign in to comment.