github actions update

This commit is contained in:
anhefti 2024-02-28 16:23:56 +01:00
parent a753971808
commit 93b450fa67

View file

@ -18,16 +18,16 @@ jobs:
steps:
-
name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
-
name: Set up JDK 8
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'adopt'
-
name: Cache Maven packages
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
@ -37,7 +37,7 @@ jobs:
run: mvn clean install -e -P let_reporting
-
name: Reporting
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
flags: unittests
name: SEB Server Build
@ -69,16 +69,16 @@ jobs:
echo ${{ env.TAG_NAME }}
-
name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
-
name: Set up JDK 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'adopt'
-
name: Cache Maven packages
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
@ -92,7 +92,7 @@ jobs:
name: Simplify package name
run: mv target/seb-server-${{ env.TAG_NAME }}-${{ env.SHA }}.jar target/seb-server.jar
-
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Package
path: target/seb-server.jar
@ -132,7 +132,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
# Install the cosign tool except on PR
# https://github.com/sigstore/cosign-installer
@ -142,7 +142,7 @@ jobs:
uses: sigstore/cosign-installer@main
-
name: Download a single artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: Package
-