Skip to content

Commit c0804f7

Browse files
authored
[github-actions] Update to v1.2 and also update actions/checkout to v4 (#17)
1 parent 9323ca8 commit c0804f7

File tree

3 files changed

+12
-17
lines changed

3 files changed

+12
-17
lines changed

.github/workflows/on-pull_request-opened-synchronize-reopened.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,18 @@ jobs:
1010

1111
steps:
1212
- name: Check out github-actions repo
13-
uses: actions/checkout@v2
13+
uses: actions/checkout@v4
1414
with:
1515
repository: aerius/github-actions
1616
path: aerius-github-actions
17-
ref: v1.0.2
17+
ref: v1.1
1818

19-
- uses: aerius/github-actions/events/pull_request-event-action@v1.0.2
19+
- uses: aerius/github-actions/events/pull_request-event-action@v1.1
2020
with:
2121
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2222
ROOT_POM_DIRECTORY: repo/source
23-
JDK_VERSION: 17
2423

25-
- uses: aerius/github-actions/extras/docker-build-action@v1.0.2
24+
- uses: aerius/github-actions/extras/docker-build-action@v1.1
2625
with:
2726
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2827
DOCKER_IMAGE_NAME: ${{ github.event.repository.name }}

.github/workflows/on-push.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,27 +9,25 @@ jobs:
99

1010
steps:
1111
- name: Check out github-actions repo
12-
uses: actions/checkout@v2
12+
uses: actions/checkout@v4
1313
with:
1414
repository: aerius/github-actions
1515
path: aerius-github-actions
16-
ref: v1.0.2
16+
ref: v1.1
1717

18-
- uses: aerius/github-actions/events/push-event-action@v1.0.2
18+
- uses: aerius/github-actions/events/push-event-action@v1.1
1919
with:
2020
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2121
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
2222
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }}
2323
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
2424
ROOT_POM_DIRECTORY: repo/source
25-
JDK_VERSION: 17
2625

27-
- uses: aerius/github-actions/extras/docker-build-or-publish-based-on-maven-project-version-action@v1.0.2
26+
- uses: aerius/github-actions/extras/docker-build-or-publish-based-on-maven-project-version-action@v1.1
2827
with:
2928
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3029
DOCKER_REGISTRY_USERNAME: ${{ secrets.NEXUS_USERNAME }}
3130
DOCKER_REGISTRY_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
3231
DOCKER_IMAGE_NAME: ${{ github.event.repository.name }}
3332
DOCKER_WORK_DIRECTORY: repo/source
3433
ROOT_POM_DIRECTORY: repo/source
35-
JDK_VERSION: 17

.github/workflows/on-release-published.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,27 +10,25 @@ jobs:
1010

1111
steps:
1212
- name: Check out github-actions repo
13-
uses: actions/checkout@v2
13+
uses: actions/checkout@v4
1414
with:
1515
repository: aerius/github-actions
1616
path: aerius-github-actions
17-
ref: v1.0.2
17+
ref: v1.1
1818

19-
- uses: aerius/github-actions/events/release-event-action@v1.0.2
19+
- uses: aerius/github-actions/events/release-event-action@v1.1
2020
with:
2121
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2222
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
2323
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }}
2424
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
2525
ROOT_POM_DIRECTORY: repo/source
26-
JDK_VERSION: 17
2726

28-
- uses: aerius/github-actions/extras/docker-publish-action@v1.0.2
27+
- uses: aerius/github-actions/extras/docker-publish-action@v1.1
2928
with:
3029
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3130
DOCKER_REGISTRY_USERNAME: ${{ secrets.NEXUS_USERNAME }}
3231
DOCKER_REGISTRY_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
3332
DOCKER_IMAGE_NAME: ${{ github.event.repository.name }}
3433
DOCKER_WORK_DIRECTORY: repo/source
3534
ROOT_POM_DIRECTORY: repo/source
36-
JDK_VERSION: 17

0 commit comments

Comments
 (0)