[GITHUB] build.yml: Update actions to latest versions (#6327)

This commit is contained in:
Adam Stachowicz 2024-02-09 20:54:15 +01:00 committed by GitHub
parent 51f3ef04f2
commit 51a446f966
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -46,7 +46,7 @@ jobs:
sudo ./llvm.sh $LLVM_VERSION sudo ./llvm.sh $LLVM_VERSION
echo "D_CLANG_VERSION=-DCLANG_VERSION=$LLVM_VERSION" >> $GITHUB_ENV echo "D_CLANG_VERSION=-DCLANG_VERSION=$LLVM_VERSION" >> $GITHUB_ENV
- name: Source checkout - name: Source checkout
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
path: src path: src
- name: Set up cache for ccache - name: Set up cache for ccache
@ -74,7 +74,7 @@ jobs:
- name: Print ccache statistics - name: Print ccache statistics
run: ccache -s run: ccache -s
- name: Upload ISOs - name: Upload ISOs
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: reactos-${{matrix.compiler}}-${{matrix.arch}}-${{matrix.config}}-${{matrix.dllver}}-${{github.sha}} name: reactos-${{matrix.compiler}}-${{matrix.arch}}-${{matrix.config}}-${{matrix.dllver}}-${{github.sha}}
path: | path: |
@ -129,7 +129,7 @@ jobs:
arch: amd64 arch: amd64
toolset: ${{matrix.toolset}} toolset: ${{matrix.toolset}}
- name: Source checkout - name: Source checkout
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
path: src path: src
- name: Configure - name: Configure
@ -139,7 +139,7 @@ jobs:
- name: Generate ISOs - name: Generate ISOs
run: cmake --build build --target bootcd --target livecd run: cmake --build build --target bootcd --target livecd
- name: Upload ISOs - name: Upload ISOs
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: reactos-msvc${{matrix.toolset}}-${{matrix.arch}}-${{matrix.config}}-${{matrix.dllver}}-${{github.sha}} name: reactos-msvc${{matrix.toolset}}-${{matrix.arch}}-${{matrix.config}}-${{matrix.dllver}}-${{github.sha}}
path: | path: |
@ -147,7 +147,7 @@ jobs:
build/livecd.iso build/livecd.iso
- name: Upload debug symbols - name: Upload debug symbols
if: ${{ matrix.config == 'Debug' }} if: ${{ matrix.config == 'Debug' }}
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: reactos-syms-msvc${{matrix.toolset}}-${{matrix.arch}}-${{matrix.config}}-${{matrix.dllver}}-${{github.sha}} name: reactos-syms-msvc${{matrix.toolset}}-${{matrix.arch}}-${{matrix.config}}-${{matrix.dllver}}-${{github.sha}}
path: build/msvc_pdb path: build/msvc_pdb
@ -183,7 +183,7 @@ jobs:
arch: amd64_arm64 arch: amd64_arm64
toolset: ${{matrix.toolset}} toolset: ${{matrix.toolset}}
- name: Source checkout - name: Source checkout
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
path: src path: src
- name: Configure - name: Configure
@ -204,7 +204,7 @@ jobs:
if: ${{ matrix.arch == 'arm64' }} if: ${{ matrix.arch == 'arm64' }}
run: cmake --build build --target calc magnify mstsc notepad osk regedit taskmgr winmine wordpad base/applications/screensavers/all -- -k0 run: cmake --build build --target calc magnify mstsc notepad osk regedit taskmgr winmine wordpad base/applications/screensavers/all -- -k0
- name: Upload compiled binaries - name: Upload compiled binaries
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: reactos-msvc${{matrix.toolset}}-${{matrix.arch}}-${{matrix.config}}-${{github.sha}} name: reactos-msvc${{matrix.toolset}}-${{matrix.arch}}-${{matrix.config}}-${{github.sha}}
path: | path: |
@ -227,7 +227,7 @@ jobs:
!**/*.tlb !**/*.tlb
- name: Upload debug symbols - name: Upload debug symbols
if: ${{ matrix.config == 'Debug' }} if: ${{ matrix.config == 'Debug' }}
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: reactos-syms-msvc${{matrix.toolset}}-${{matrix.arch}}-${{matrix.config}}-${{github.sha}} name: reactos-syms-msvc${{matrix.toolset}}-${{matrix.arch}}-${{matrix.config}}-${{github.sha}}
path: build/msvc_pdb path: build/msvc_pdb
@ -268,7 +268,7 @@ jobs:
- name: Add LLVM to PATH - name: Add LLVM to PATH
run: echo "${env:LLVM_PATH}" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append run: echo "${env:LLVM_PATH}" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- name: Source checkout - name: Source checkout
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
path: src path: src
- name: Configure - name: Configure
@ -278,7 +278,7 @@ jobs:
- name: Generate ISOs - name: Generate ISOs
run: cmake --build build --target bootcd --target livecd run: cmake --build build --target bootcd --target livecd
- name: Upload ISOs - name: Upload ISOs
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: reactos-clang-cl-${{matrix.arch}}-${{matrix.config}}-${{github.sha}} name: reactos-clang-cl-${{matrix.arch}}-${{matrix.config}}-${{github.sha}}
path: | path: |
@ -286,7 +286,7 @@ jobs:
build/livecd.iso build/livecd.iso
- name: Upload debug symbols - name: Upload debug symbols
if: ${{ matrix.config == 'Debug' }} if: ${{ matrix.config == 'Debug' }}
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: reactos-syms-clang-cl-${{matrix.arch}}-${{matrix.config}}-${{github.sha}} name: reactos-syms-clang-cl-${{matrix.arch}}-${{matrix.config}}-${{github.sha}}
path: build/msvc_pdb path: build/msvc_pdb
@ -307,7 +307,7 @@ jobs:
# uses: ilammy/msvc-dev-cmd@v1 # uses: ilammy/msvc-dev-cmd@v1
# with: # with:
# arch: amd64_x86 # arch: amd64_x86
# - uses: actions/checkout@v3 # - uses: actions/checkout@v4
# with: # with:
# path: src # path: src
# - name: Configure # - name: Configure