Skip to content

Commit

Permalink
[github-actions] Update to v1.2 and also update actions/checkout to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
SerhatG committed Jan 7, 2025
1 parent 9323ca8 commit 39f23ae
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,25 @@ 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 }}
DOCKER_REGISTRY_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
DOCKER_IMAGE_NAME: ${{ github.event.repository.name }}
DOCKER_WORK_DIRECTORY: repo/source
ROOT_POM_DIRECTORY: repo/source
JDK_VERSION: 17
10 changes: 4 additions & 6 deletions .github/workflows/on-release-published.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,25 @@ 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 }}
DOCKER_REGISTRY_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
DOCKER_IMAGE_NAME: ${{ github.event.repository.name }}
DOCKER_WORK_DIRECTORY: repo/source
ROOT_POM_DIRECTORY: repo/source
JDK_VERSION: 17

0 comments on commit 39f23ae

Please sign in to comment.