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 authored Jan 8, 2025
1 parent 3923128 commit 45bc018
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
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,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
9 changes: 4 additions & 5 deletions .github/workflows/on-release-published.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 45bc018

Please sign in to comment.