diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 37317615..5b06bc81 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -19,7 +19,7 @@ jobs: - uses: actions/checkout@v4 - name: Set up JDK - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: 17 distribution: 'temurin' diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index d2aa9480..72edcfaf 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -15,7 +15,7 @@ jobs: uses: actions/checkout@v4 - name: Set up JDK - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: 17 distribution: 'temurin' @@ -28,13 +28,13 @@ jobs: - name: Fail workflow if SDK version is snapshot if: endsWith(env.YOJ_VERSION, 'SNAPSHOT') - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: core.setFailed('SNAPSHOT version cannot be published') - name: Fail workflow if SDK version is not equal to tag name if: format('v{0}', env.YOJ_VERSION) != github.ref_name - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: core.setFailed('Release name must be equal to project version') @@ -66,7 +66,7 @@ jobs: submodules: true - name: Set up Maven Central Repository - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: 17 distribution: 'temurin'