Skip to content

Commit 90b5ff7

Browse files
authored
adjust year related config (#331) (#332)
1 parent 06f376e commit 90b5ff7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/e2e-upgrade.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,14 @@ jobs:
288288
run: |
289289
cd $GITHUB_WORKSPACE && mkdir workspace
290290
291+
- name: Adjust Year Related Configurations
292+
run: |
293+
cd ${{ github.workspace }}/upstream
294+
now="$(date "+%Y")"
295+
sed -i "s|2023|${now}|g" test/distributed/cases/function/func_datetime_utc_timestamp.result;
296+
sed -i "s|2024|${now}|g" test/distributed/cases/function/func_datetime_utc_timestamp.result;
297+
sed -i "s|2025|${now}|g" test/distributed/cases/function/func_datetime_utc_timestamp.result;
298+
291299
- name: Start the MO of Rlease ${{ steps.get-latest-release.outputs.tag }}
292300
run: |
293301
cd $GITHUB_WORKSPACE/workspace

0 commit comments

Comments
 (0)