Skip to content

Commit d3ebadf

Browse files
committed
update GitHub Actions
1 parent b79d642 commit d3ebadf

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ jobs:
99
build:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v4
1313
- name: Set up JDK 17
14-
uses: actions/setup-java@v2
14+
uses: actions/setup-java@v4
1515
with:
1616
java-version: '17'
1717
distribution: 'temurin'
@@ -26,9 +26,9 @@ jobs:
2626
needs: build
2727
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
2828
steps:
29-
- uses: actions/checkout@v2
29+
- uses: actions/checkout@v4
3030
- name: Set up JDK 17
31-
uses: actions/setup-java@v2
31+
uses: actions/setup-java@v4
3232
with:
3333
java-version: '17'
3434
distribution: 'temurin'
@@ -46,7 +46,7 @@ jobs:
4646
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
4747
if: env.dockerhub_username != null
4848
- name: Login to DockerHub
49-
uses: docker/login-action@v2
49+
uses: docker/login-action@v3
5050
with:
5151
username: ${{ secrets.DOCKERHUB_USERNAME }}
5252
password: ${{ secrets.DOCKERHUB_TOKEN }}

0 commit comments

Comments
 (0)