mirror of
https://github.com/anrieff/libcpuid
synced 2024-12-16 16:35:45 +00:00
CI: update actions to Node20
All actions using Node16 are deprecated: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20
This commit is contained in:
parent
c3b478edd1
commit
e965155651
3 changed files with 9 additions and 9 deletions
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
|
@ -11,7 +11,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Get Git tag
|
||||
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
|
||||
|
@ -24,7 +24,7 @@ jobs:
|
|||
make dist
|
||||
|
||||
- name: Download macOS artifacts
|
||||
uses: dawidd6/action-download-artifact@v2
|
||||
uses: dawidd6/action-download-artifact@v3
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
workflow: unix.yml
|
||||
|
@ -33,7 +33,7 @@ jobs:
|
|||
path: macos
|
||||
|
||||
- name: Download Windows (32-bit) artifacts
|
||||
uses: dawidd6/action-download-artifact@v2
|
||||
uses: dawidd6/action-download-artifact@v3
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
workflow: windows.yml
|
||||
|
@ -42,7 +42,7 @@ jobs:
|
|||
path: win32
|
||||
|
||||
- name: Download Windows (64-bit) artifacts
|
||||
uses: dawidd6/action-download-artifact@v2
|
||||
uses: dawidd6/action-download-artifact@v3
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
workflow: windows.yml
|
||||
|
|
4
.github/workflows/unix.yml
vendored
4
.github/workflows/unix.yml
vendored
|
@ -21,7 +21,7 @@ jobs:
|
|||
OS_NAME: ${{ matrix.os.name }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Generate build system
|
||||
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX="" -DLIBCPUID_TESTS:BOOL=ON
|
||||
|
@ -43,7 +43,7 @@ jobs:
|
|||
DESTDIR: ${{ github.workspace }}/installdir
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ matrix.os.name }}
|
||||
path: installdir/*
|
||||
|
|
6
.github/workflows/windows.yml
vendored
6
.github/workflows/windows.yml
vendored
|
@ -25,10 +25,10 @@ jobs:
|
|||
PTS: v142
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Add MSBuild to PATH
|
||||
uses: microsoft/setup-msbuild@v1.1
|
||||
uses: microsoft/setup-msbuild@v2
|
||||
|
||||
- name: Build with MSBuild
|
||||
run: |
|
||||
|
@ -60,7 +60,7 @@ jobs:
|
|||
DESTDIR: ${{ github.workspace }}/installdir
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ matrix.platform.name }}
|
||||
path: installdir/*
|
||||
|
|
Loading…
Reference in a new issue