ci: bump some github actions to latest
This commit is contained in:
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@@ -17,7 +17,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
CMAKE_VERSION: 3.20.0
|
CMAKE_VERSION: 3.20.0
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
- name: Install Linux dependencies
|
- name: Install Linux dependencies
|
||||||
@@ -57,7 +57,7 @@ jobs:
|
|||||||
CC: ${{ matrix.cc }}
|
CC: ${{ matrix.cc }}
|
||||||
CXX: ${{ matrix.cxx }}
|
CXX: ${{ matrix.cxx }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
- name: Install Linux dependencies
|
- name: Install Linux dependencies
|
||||||
@@ -94,7 +94,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
- name: Install Linux dependencies
|
- name: Install Linux dependencies
|
||||||
|
|||||||
6
.github/workflows/format.yml
vendored
6
.github/workflows/format.yml
vendored
@@ -12,7 +12,7 @@ jobs:
|
|||||||
name: cmake-format
|
name: cmake-format
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.pull_request.head.ref }}
|
ref: ${{ github.event.pull_request.head.ref }}
|
||||||
repository: ${{ github.event.pull_request.head.repo.full_name }}
|
repository: ${{ github.event.pull_request.head.repo.full_name }}
|
||||||
@@ -31,7 +31,7 @@ jobs:
|
|||||||
needs: cmake-format-check
|
needs: cmake-format-check
|
||||||
if: always() && startsWith(github.event_name, 'pull_request') && needs.cmake-format-check.result == 'failure'
|
if: always() && startsWith(github.event_name, 'pull_request') && needs.cmake-format-check.result == 'failure'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.pull_request.head.ref }}
|
ref: ${{ github.event.pull_request.head.ref }}
|
||||||
repository: ${{ github.event.pull_request.head.repo.full_name }}
|
repository: ${{ github.event.pull_request.head.repo.full_name }}
|
||||||
@@ -45,7 +45,7 @@ jobs:
|
|||||||
args: --config-files .cmake-format.py --in-place
|
args: --config-files .cmake-format.py --in-place
|
||||||
- run: |
|
- run: |
|
||||||
git diff > cmake-format.patch
|
git diff > cmake-format.patch
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v7
|
||||||
with:
|
with:
|
||||||
name: formatting-fix-${{github.sha}}
|
name: formatting-fix-${{github.sha}}
|
||||||
path: cmake-format.patch
|
path: cmake-format.patch
|
||||||
|
|||||||
14
.github/workflows/release.yml
vendored
14
.github/workflows/release.yml
vendored
@@ -18,7 +18,7 @@ jobs:
|
|||||||
sha: ${{ steps.version.outputs.sha }}
|
sha: ${{ steps.version.outputs.sha }}
|
||||||
tag: ${{ steps.version.outputs.tag }}
|
tag: ${{ steps.version.outputs.tag }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
@@ -51,7 +51,7 @@ jobs:
|
|||||||
CMAKE_INSTALL_DIR: ${{ github.workspace }}/install/
|
CMAKE_INSTALL_DIR: ${{ github.workspace }}/install/
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
- name: Install Linux dependencies
|
- name: Install Linux dependencies
|
||||||
@@ -80,7 +80,7 @@ jobs:
|
|||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
cmake --build "${{ env.CMAKE_BUILD_DIR }}" --target install --config Release
|
cmake --build "${{ env.CMAKE_BUILD_DIR }}" --target install --config Release
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v7
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.os }}
|
name: ${{ matrix.os }}
|
||||||
path: ${{ github.workspace }}/install/
|
path: ${{ github.workspace }}/install/
|
||||||
@@ -93,7 +93,7 @@ jobs:
|
|||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
@@ -102,15 +102,15 @@ jobs:
|
|||||||
find src/bgfx.cmake -name ".git*" -exec rm -rf {} +
|
find src/bgfx.cmake -name ".git*" -exec rm -rf {} +
|
||||||
find src/bgfx.cmake -name ".editorconfig" -delete
|
find src/bgfx.cmake -name ".editorconfig" -delete
|
||||||
rm src/bgfx.cmake/.cmake-format.py
|
rm src/bgfx.cmake/.cmake-format.py
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v8
|
||||||
with:
|
with:
|
||||||
name: windows-latest
|
name: windows-latest
|
||||||
path: ${{ github.workspace }}/install/windows/bgfx.cmake
|
path: ${{ github.workspace }}/install/windows/bgfx.cmake
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v8
|
||||||
with:
|
with:
|
||||||
name: ubuntu-latest
|
name: ubuntu-latest
|
||||||
path: ${{ github.workspace }}/install/linux/bgfx.cmake
|
path: ${{ github.workspace }}/install/linux/bgfx.cmake
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v8
|
||||||
with:
|
with:
|
||||||
name: macos-latest
|
name: macos-latest
|
||||||
path: ${{ github.workspace }}/install/macos/bgfx.cmake
|
path: ${{ github.workspace }}/install/macos/bgfx.cmake
|
||||||
|
|||||||
Reference in New Issue
Block a user