Skip to content

Commit

Permalink
build: use v4 of various GH actions
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasRentzCAU committed Aug 6, 2024
1 parent b4cfef0 commit 2050b78
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'adopt'
- name: Cache Maven packages
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-m2-${{ hashFiles('.github/workflows/**/*.*', '**/pom.xml', '**/META-INF/MANIFEST.MF', 'build/de.cau.cs.kieler.spviz.targetplatform/de.cau.cs.kieler.spviz.targetplatform.target') }}
- name: Build with Maven
run: mvn --batch-mode --update-snapshots -f build/pom.xml verify
- name: Archive P2 Repository
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: SPViz P2 Repository
path: build/de.cau.cs.kieler.spviz.repository/target/repository/**/*
Expand Down

0 comments on commit 2050b78

Please sign in to comment.