Skip to content

Commit 936c0a2

Browse files
authored
Merge pull request #299 from data-integrations/fix-e2e-actions-v4
Upgrade GitHub actions v3 to v4 in build and E2E workflows
2 parents 26ca250 + d612a02 commit 936c0a2

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ jobs:
3737
&& (github.event.action != 'labeled' || github.event.label.name == 'build')
3838
)
3939
steps:
40-
- uses: actions/checkout@v3
40+
- uses: actions/checkout@v4
4141
with:
4242
ref: ${{ github.event.workflow_run.head_sha }}
4343

4444
- name: Cache
45-
uses: actions/cache@v3
45+
uses: actions/cache@v4
4646
with:
4747
path: ~/.m2/repository
4848
key: ${{ runner.os }}-maven-${{ github.workflow }}-${{ hashFiles('**/pom.xml') }}

.github/workflows/e2e.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545

4646
steps:
4747
# Pinned 1.0.0 version
48-
- uses: actions/checkout@v3
48+
- uses: actions/checkout@v4
4949
with:
5050
path: plugin
5151
submodules: 'recursive'
@@ -61,13 +61,13 @@ jobs:
6161
- '${{ matrix.module }}/**/e2e-test/**'
6262
6363
- name: Checkout e2e test repo
64-
uses: actions/checkout@v3
64+
uses: actions/checkout@v4
6565
with:
6666
repository: cdapio/cdap-e2e-tests
6767
path: e2e
6868

6969
- name: Cache
70-
uses: actions/cache@v3
70+
uses: actions/cache@v4
7171
with:
7272
path: ~/.m2/repository
7373
key: ${{ runner.os }}-maven-${{ github.workflow }}-${{ hashFiles('**/pom.xml') }}
@@ -76,7 +76,7 @@ jobs:
7676
7777
- name: Get Secrets from GCP Secret Manager
7878
id: secrets
79-
uses: 'google-github-actions/get-secretmanager-secrets@v0'
79+
uses: 'google-github-actions/get-secretmanager-secrets@v2'
8080
with:
8181
secrets: |-
8282
MYSQL_HOST:cdapio-github-builds/MYSQL_HOST
@@ -115,21 +115,21 @@ jobs:
115115
MSSQL_PORT: ${{ steps.secrets.outputs.MSSQL_PORT }}
116116

117117
- name: Upload report
118-
uses: actions/upload-artifact@v3
118+
uses: actions/upload-artifact@v4
119119
if: always()
120120
with:
121121
name: Cucumber report - ${{ matrix.module }}
122122
path: ./**/target/cucumber-reports
123123

124124
- name: Upload debug files
125-
uses: actions/upload-artifact@v3
125+
uses: actions/upload-artifact@v4
126126
if: always()
127127
with:
128128
name: Debug files - ${{ matrix.module }}
129129
path: ./**/target/e2e-debug
130130

131131
- name: Upload files to GCS
132-
uses: google-github-actions/upload-cloud-storage@v0
132+
uses: google-github-actions/upload-cloud-storage@v2
133133
if: always()
134134
with:
135135
path: ./plugin

0 commit comments

Comments
 (0)