Update GitHub Actions to use v4 of actions

Bump actions/checkout, actions/upload-artifact, and actions/download-artifact from v3 to v4 in workflow files for improved performance and support.
pull/87/head
Salman Muin Kayser Chishti 3 months ago
parent 6fbb1f0f20
commit 309eea57b7

@ -36,7 +36,7 @@ jobs:
matrix: matrix:
platform: [linux, darwin, win32] platform: [linux, darwin, win32]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with: with:
submodules: true submodules: true
@ -46,7 +46,7 @@ jobs:
-Platform ${{ matrix.platform }} -Platform ${{ matrix.platform }}
- name: Publish artifact - name: Publish artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: ${{ env.ARTIFACT_NAME }} name: ${{ env.ARTIFACT_NAME }}
path: ${{ runner.temp }}/artifact path: ${{ runner.temp }}/artifact
@ -68,7 +68,7 @@ jobs:
- os: windows-latest - os: windows-latest
platform: win32 platform: win32
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with: with:
submodules: true submodules: true
@ -76,7 +76,7 @@ jobs:
run: ./helpers/clean-toolcache.ps1 -ToolName "${{ inputs.tool-name }}" run: ./helpers/clean-toolcache.ps1 -ToolName "${{ inputs.tool-name }}"
- name: Download artifact - name: Download artifact
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
path: ${{ runner.temp }} path: ${{ runner.temp }}
@ -140,7 +140,7 @@ jobs:
needs: test needs: test
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v4
- name: Generate release body - name: Generate release body
id: generate-release-body id: generate-release-body

@ -24,7 +24,7 @@ jobs:
validation: validation:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with: with:
submodules: true submodules: true
@ -37,7 +37,7 @@ jobs:
needs: [validation] needs: [validation]
if: failure() if: failure()
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with: with:
submodules: true submodules: true

Loading…
Cancel
Save