Skip to content

Commit 856145c

Browse files
committed
[ci] Fetch latest version before build image
[skip ci] Signed-off-by: Viet Nguyen Duc <[email protected]>
1 parent 5afa3c8 commit 856145c

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

.github/workflows/release-chrome-versions.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,12 @@ jobs:
106106
run: |
107107
echo ${GRID_VERSION}
108108
echo "GRID_VERSION=${GRID_VERSION}" >> "$GITHUB_OUTPUT"
109+
- name: Fetch latest version
110+
run: |
111+
python3 -m pip install -r tests/requirements.txt
112+
python3 tests/build-backward-compatible/fetch_firefox_version.py
113+
python3 tests/build-backward-compatible/fetch_version.py
114+
make update_selenium_version_matrix
109115
- name: Login Docker Hub
110116
run: docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
111117
env:

.github/workflows/release-edge-versions.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,12 @@ jobs:
106106
run: |
107107
echo ${GRID_VERSION}
108108
echo "GRID_VERSION=${GRID_VERSION}" >> "$GITHUB_OUTPUT"
109+
- name: Fetch latest version
110+
run: |
111+
python3 -m pip install -r tests/requirements.txt
112+
python3 tests/build-backward-compatible/fetch_firefox_version.py
113+
python3 tests/build-backward-compatible/fetch_version.py
114+
make update_selenium_version_matrix
109115
- name: Login Docker Hub
110116
run: docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
111117
env:

.github/workflows/release-firefox-versions.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,12 @@ jobs:
106106
run: |
107107
echo ${GRID_VERSION}
108108
echo "GRID_VERSION=${GRID_VERSION}" >> "$GITHUB_OUTPUT"
109+
- name: Fetch latest version
110+
run: |
111+
python3 -m pip install -r tests/requirements.txt
112+
python3 tests/build-backward-compatible/fetch_firefox_version.py
113+
python3 tests/build-backward-compatible/fetch_version.py
114+
make update_selenium_version_matrix
109115
- name: Login Docker Hub
110116
run: docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
111117
env:

0 commit comments

Comments
 (0)