From 088048f034d356cf2b734f80616d6dfe53ac700d Mon Sep 17 00:00:00 2001 From: Sylvain Jermini Date: Tue, 27 Feb 2024 19:02:44 +0100 Subject: [PATCH] update workflows --- .github/workflows/maven.yml | 6 +++--- .github/workflows/release.yml | 2 -- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 475a163..26f5f7a 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -18,15 +18,15 @@ jobs: java: ['11','17', '21'] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up JDK ${{matrix.java}} - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: java-version: ${{matrix.java}} - name: Maven -v run: ./mvnw -v - name: Cache Maven packages - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 38f21d4..ef0c7e5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,8 +3,6 @@ on: push: tags: - jfiveparse-* - pull_request: - branches: [ main ] jobs: publish: runs-on: ubuntu-latest