From 39f23ae0bab398cc8137c325e0e7d8e70c7e29b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Serhat=20G=C3=BCl=C3=A7i=C3=A7ek?= Date: Tue, 7 Jan 2025 13:58:17 +0100 Subject: [PATCH] [github-actions] Update to v1.2 and also update actions/checkout to v4 --- .../on-pull_request-opened-synchronize-reopened.yml | 9 ++++----- .github/workflows/on-push.yml | 10 ++++------ .github/workflows/on-release-published.yml | 10 ++++------ 3 files changed, 12 insertions(+), 17 deletions(-) diff --git a/.github/workflows/on-pull_request-opened-synchronize-reopened.yml b/.github/workflows/on-pull_request-opened-synchronize-reopened.yml index 5b865d3..c24b76c 100644 --- a/.github/workflows/on-pull_request-opened-synchronize-reopened.yml +++ b/.github/workflows/on-pull_request-opened-synchronize-reopened.yml @@ -10,19 +10,18 @@ jobs: steps: - name: Check out github-actions repo - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: aerius/github-actions path: aerius-github-actions - ref: v1.0.2 + ref: v1.1 - - uses: aerius/github-actions/events/pull_request-event-action@v1.0.2 + - uses: aerius/github-actions/events/pull_request-event-action@v1.1 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} ROOT_POM_DIRECTORY: repo/source - JDK_VERSION: 17 - - uses: aerius/github-actions/extras/docker-build-action@v1.0.2 + - uses: aerius/github-actions/extras/docker-build-action@v1.1 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} DOCKER_IMAGE_NAME: ${{ github.event.repository.name }} diff --git a/.github/workflows/on-push.yml b/.github/workflows/on-push.yml index 776f8d7..40ece14 100644 --- a/.github/workflows/on-push.yml +++ b/.github/workflows/on-push.yml @@ -9,22 +9,21 @@ jobs: steps: - name: Check out github-actions repo - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: aerius/github-actions path: aerius-github-actions - ref: v1.0.2 + ref: v1.1 - - uses: aerius/github-actions/events/push-event-action@v1.0.2 + - uses: aerius/github-actions/events/push-event-action@v1.1 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }} NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }} ROOT_POM_DIRECTORY: repo/source - JDK_VERSION: 17 - - uses: aerius/github-actions/extras/docker-build-or-publish-based-on-maven-project-version-action@v1.0.2 + - uses: aerius/github-actions/extras/docker-build-or-publish-based-on-maven-project-version-action@v1.1 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} DOCKER_REGISTRY_USERNAME: ${{ secrets.NEXUS_USERNAME }} @@ -32,4 +31,3 @@ jobs: DOCKER_IMAGE_NAME: ${{ github.event.repository.name }} DOCKER_WORK_DIRECTORY: repo/source ROOT_POM_DIRECTORY: repo/source - JDK_VERSION: 17 diff --git a/.github/workflows/on-release-published.yml b/.github/workflows/on-release-published.yml index 38f5ad7..639179e 100644 --- a/.github/workflows/on-release-published.yml +++ b/.github/workflows/on-release-published.yml @@ -10,22 +10,21 @@ jobs: steps: - name: Check out github-actions repo - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: aerius/github-actions path: aerius-github-actions - ref: v1.0.2 + ref: v1.1 - - uses: aerius/github-actions/events/release-event-action@v1.0.2 + - uses: aerius/github-actions/events/release-event-action@v1.1 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }} NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }} ROOT_POM_DIRECTORY: repo/source - JDK_VERSION: 17 - - uses: aerius/github-actions/extras/docker-publish-action@v1.0.2 + - uses: aerius/github-actions/extras/docker-publish-action@v1.1 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} DOCKER_REGISTRY_USERNAME: ${{ secrets.NEXUS_USERNAME }} @@ -33,4 +32,3 @@ jobs: DOCKER_IMAGE_NAME: ${{ github.event.repository.name }} DOCKER_WORK_DIRECTORY: repo/source ROOT_POM_DIRECTORY: repo/source - JDK_VERSION: 17