From 45bc018027e9822536aaaaddf27b27d8b0baee3c Mon Sep 17 00:00:00 2001 From: Serhat Date: Wed, 8 Jan 2025 10:36:41 +0100 Subject: [PATCH] [github-actions] Update to v1.2 and also update actions/checkout to v4 (#55) --- .../on-pull_request-opened-synchronize-reopened.yml | 9 ++++----- .github/workflows/on-push.yml | 10 ++++------ .github/workflows/on-release-published.yml | 9 ++++----- 3 files changed, 12 insertions(+), 16 deletions(-) diff --git a/.github/workflows/on-pull_request-opened-synchronize-reopened.yml b/.github/workflows/on-pull_request-opened-synchronize-reopened.yml index 6f08dd3..a2d509b 100644 --- a/.github/workflows/on-pull_request-opened-synchronize-reopened.yml +++ b/.github/workflows/on-pull_request-opened-synchronize-reopened.yml @@ -10,18 +10,17 @@ 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 }} - 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 51a66b5..7dd8e83 100644 --- a/.github/workflows/on-push.yml +++ b/.github/workflows/on-push.yml @@ -9,25 +9,23 @@ 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 }} - 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 }} DOCKER_REGISTRY_PASSWORD: ${{ secrets.NEXUS_PASSWORD }} DOCKER_IMAGE_NAME: ${{ github.event.repository.name }} DOCKERFILE_LOCATION: docker/service/Dockerfile - JDK_VERSION: 17 diff --git a/.github/workflows/on-release-published.yml b/.github/workflows/on-release-published.yml index f0e178a..f944477 100644 --- a/.github/workflows/on-release-published.yml +++ b/.github/workflows/on-release-published.yml @@ -10,21 +10,20 @@ 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 }} - 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 }}