Skip to content

Commit 9899c4e

Browse files
authored
Upgrade GitHub Actions to version 4
1 parent 7d01c83 commit 9899c4e

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@ jobs:
77
if: startsWith(github.ref, 'dockerfile-image-update-') == false
88
steps:
99
- name: checkout
10-
uses: actions/checkout@main
10+
uses: actions/checkout@v4
1111
with:
1212
ref: ${{ github.ref }}
1313
- name: docker build
1414
run: make mvn-docker-build get-main-project-dirs
1515
- name: Upload main module
16-
uses: actions/upload-artifact@v1
16+
uses: actions/upload-artifact@v4
1717
with:
1818
name: dockerfile-image-update
1919
path: dockerfile-image-update
2020
- name: Upload itest module
21-
uses: actions/upload-artifact@v1
21+
uses: actions/upload-artifact@v4
2222
with:
2323
name: dockerfile-image-update-itest
2424
path: dockerfile-image-update-itest
@@ -29,7 +29,7 @@ jobs:
2929
version: ${{ steps.version_tag.outputs.new_version }}
3030
steps:
3131
- name: checkout
32-
uses: actions/checkout@v2
32+
uses: actions/checkout@v4
3333
with:
3434
fetch-depth: 0
3535
- name: get version
@@ -42,13 +42,14 @@ jobs:
4242
needs: [build-test, get-next-version]
4343
steps:
4444
- name: checkout
45-
uses: actions/checkout@main
45+
uses: actions/checkout@v4
4646
with:
4747
ref: ${{ github.ref }}
4848
- name: Download itest dir
49-
uses: actions/download-artifact@v1
49+
uses: actions/download-artifact@v4
5050
with:
5151
name: dockerfile-image-update-itest
52+
path: dockerfile-image-update-itest
5253
- name: integration test
5354
env:
5455
ITEST_GH_TOKEN: ${{ secrets.ITEST_GH_TOKEN }}
@@ -59,13 +60,14 @@ jobs:
5960
if: github.ref == 'refs/heads/main'
6061
steps:
6162
- name: checkout
62-
uses: actions/checkout@main
63+
uses: actions/checkout@v4
6364
with:
6465
ref: ${{ github.ref }}
6566
- name: Download main project dir
66-
uses: actions/download-artifact@v1
67+
uses: actions/download-artifact@v4
6768
with:
6869
name: dockerfile-image-update
70+
path: dockerfile-image-update
6971
- name: deploy
7072
env:
7173
encrypted_00fae8efff8c_iv: ${{ secrets.encrypted_00fae8efff8c_iv }}

0 commit comments

Comments
 (0)