Run github actions on windows-latest
MODIFY
.github/workflows/pr-smoke-test-fake-backend-images.yml
.github/workflows/pr-smoke-test-fake-backend-images.yml
@@ -27,7 +27,7 @@ jobs:
gradle-home-cache-excludes: caches/build-cache-1
buildWindows:
- runs-on: windows-2019
+ runs-on: windows-latest
defaults:
run:
shell: bash

MODIFY
.github/workflows/publish-smoke-test-fake-backend-images.yml
.github/workflows/publish-smoke-test-fake-backend-images.yml
@@ -37,7 +37,7 @@ jobs:
arguments: ":smoke-tests:images:fake-backend:jib -Djib.httpTimeout=120000 -Djib.console=plain -PextraTag=${{ env.TAG }}"
publishWindows:
- runs-on: windows-2019
+ runs-on: windows-latest
defaults:
run:
shell: bash

MODIFY
.github/workflows/reusable-smoke-test.yml
.github/workflows/reusable-smoke-test.yml
@@ -26,7 +26,7 @@ jobs:
strategy:
matrix:
os:
- - windows-2019
+ - windows-latest
- ubuntu-latest
smoke-test-suite:
- jetty
@@ -38,14 +38,14 @@ jobs:
- wildfly
- other
exclude:
- - os: ${{ inputs.skip-windows && 'windows-2019' || '' }}
- - os: windows-2019
+ - os: ${{ inputs.skip-windows && 'windows-latest' || '' }}
+ - os: windows-latest
smoke-test-suite: websphere
fail-fast: false
steps:
- name: Support long paths
run: git config --system core.longpaths true
- if: matrix.os == 'windows-2019'
+ if: matrix.os == 'windows-latest'
- uses: actions/checkout@v3

Run github actions on windows-latest (#6295)