diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 14d2798e..596703d4 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -16,12 +16,12 @@ jobs: target: [static_lib, shared_lib, cmd] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: build ${{matrix.target}} run: | ${{matrix.target}}/build.sh ${{matrix.config}} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 name: upload ${{matrix.target}} with: name: linux_x64-${{matrix.target}}-${{matrix.config}} @@ -35,14 +35,14 @@ jobs: needs: build-linux runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/download-artifact@v3 + - uses: actions/checkout@v4 + - uses: actions/download-artifact@v4 with: path: build/artifacts - name: build dist run: | ./dist.sh - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: dist-linux-x64 path: dist @@ -56,12 +56,12 @@ jobs: target: [static_lib, shared_lib, cmd] arch: [arm64, x64] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: build ${{matrix.target}} run: | ${{matrix.target}}/build.sh ${{matrix.config}} ${{matrix.arch}} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 name: upload ${{matrix.target}} with: name: darwin_${{matrix.arch}}-${{matrix.target}}-${{matrix.config}} @@ -78,14 +78,14 @@ jobs: matrix: arch: [arm64, x64] steps: - - uses: actions/checkout@v3 - - uses: actions/download-artifact@v3 + - uses: actions/checkout@v4 + - uses: actions/download-artifact@v4 with: path: build/artifacts - name: build dist run: | ./dist.sh ${{matrix.arch}} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: dist-darwin-${{matrix.arch}} path: dist @@ -99,12 +99,12 @@ jobs: target: [static_lib, shared_lib, cmd] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: build ${{matrix.target}} run: | ${{matrix.target}}/build.bat ${{matrix.config}} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 name: upload ${{matrix.target}} with: name: win32_x64-${{matrix.target}}-${{matrix.config}} @@ -119,14 +119,14 @@ jobs: needs: build-win32 runs-on: windows-latest steps: - - uses: actions/checkout@v3 - - uses: actions/download-artifact@v3 + - uses: actions/checkout@v4 + - uses: actions/download-artifact@v4 with: path: build/artifacts - name: build dist run: | ./dist.bat - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: dist-win32-x64 path: dist @@ -139,7 +139,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Download Linux artifacts uses: actions/download-artifact@v1 diff --git a/.github/workflows/master-build.yml b/.github/workflows/master-build.yml index 0133a62c..be062516 100644 --- a/.github/workflows/master-build.yml +++ b/.github/workflows/master-build.yml @@ -14,12 +14,12 @@ jobs: target: [static_lib, shared_lib, cmd] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: build ${{matrix.target}} run: | ${{matrix.target}}/build.sh ${{matrix.config}} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 name: upload ${{matrix.target}} with: name: linux_x64-${{matrix.target}}-${{matrix.config}} @@ -35,7 +35,7 @@ jobs: matrix: config: [debug, release] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: build test run: | test/build.sh ${{matrix.config}} @@ -50,14 +50,14 @@ jobs: needs: build-linux runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/download-artifact@v3 + - uses: actions/checkout@v4 + - uses: actions/download-artifact@v4 with: path: build/artifacts - name: build dist run: | ./dist.sh - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: dist-linux-x64 path: dist @@ -71,12 +71,12 @@ jobs: target: [static_lib, shared_lib, cmd] arch: [arm64, x64] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: build ${{matrix.target}} run: | ${{matrix.target}}/build.sh ${{matrix.config}} ${{matrix.arch}} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 name: upload ${{matrix.target}} with: name: darwin_${{matrix.arch}}-${{matrix.target}}-${{matrix.config}} @@ -93,7 +93,7 @@ jobs: config: [debug, release] arch: [arm64, x64] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: build test run: | test/build.sh ${{matrix.config}} ${{matrix.arch}} @@ -112,14 +112,14 @@ jobs: matrix: arch: [arm64, x64] steps: - - uses: actions/checkout@v3 - - uses: actions/download-artifact@v3 + - uses: actions/checkout@v4 + - uses: actions/download-artifact@v4 with: path: build/artifacts - name: build dist run: | ./dist.sh ${{matrix.arch}} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: dist-darwin-${{matrix.arch}} path: dist @@ -133,12 +133,12 @@ jobs: target: [static_lib, shared_lib, cmd] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: build ${{matrix.target}} run: | ${{matrix.target}}/build.bat ${{matrix.config}} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 name: upload ${{matrix.target}} with: name: win32_x64-${{matrix.target}}-${{matrix.config}} @@ -155,7 +155,7 @@ jobs: matrix: config: [debug, release] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: build test run: | test/build.bat ${{matrix.config}} @@ -170,14 +170,14 @@ jobs: needs: build-win32 runs-on: windows-latest steps: - - uses: actions/checkout@v3 - - uses: actions/download-artifact@v3 + - uses: actions/checkout@v4 + - uses: actions/download-artifact@v4 with: path: build/artifacts - name: build dist run: | ./dist.bat - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: dist-win32-x64 path: dist diff --git a/.github/workflows/pr-build.yml b/.github/workflows/pr-build.yml index 0bea6a64..8f9b5e06 100644 --- a/.github/workflows/pr-build.yml +++ b/.github/workflows/pr-build.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Cancel Previous Runs - uses: styfle/cancel-workflow-action@0.11.0 + uses: styfle/cancel-workflow-action@0.12.1 with: access_token: ${{ github.token }} @@ -23,12 +23,12 @@ jobs: target: [static_lib, shared_lib, cmd] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: build ${{matrix.target}} run: | ${{matrix.target}}/build.sh ${{matrix.config}} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 name: upload ${{matrix.target}} with: name: linux_x64-${{matrix.target}}-${{matrix.config}} @@ -44,7 +44,7 @@ jobs: matrix: config: [debug, release] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: build test run: | test/build.sh ${{matrix.config}} @@ -59,14 +59,14 @@ jobs: needs: build-linux runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/download-artifact@v3 + - uses: actions/checkout@v4 + - uses: actions/download-artifact@v4 with: path: build/artifacts - name: build dist run: | ./dist.sh - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: dist-linux-x64 path: dist @@ -81,12 +81,12 @@ jobs: arch: [x64, arm64] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: build ${{matrix.target}} run: | ${{matrix.target}}/build.sh ${{matrix.config}} ${{matrix.arch}} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 name: upload ${{matrix.target}} with: name: darwin_${{matrix.arch}}-${{matrix.target}}-${{matrix.config}} @@ -103,7 +103,7 @@ jobs: config: [debug, release] arch: [arm64, x64] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: build test run: | test/build.sh ${{matrix.config}} ${{matrix.arch}} @@ -122,14 +122,14 @@ jobs: matrix: arch: [x64, arm64] steps: - - uses: actions/checkout@v3 - - uses: actions/download-artifact@v3 + - uses: actions/checkout@v4 + - uses: actions/download-artifact@v4 with: path: build/artifacts - name: build dist run: | ./dist.sh ${{matrix.arch}} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: dist-darwin-${{matrix.arch}} path: dist @@ -143,12 +143,12 @@ jobs: target: [static_lib, shared_lib, cmd] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: build ${{matrix.target}} run: | ${{matrix.target}}/build.bat ${{matrix.config}} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 name: upload ${{matrix.target}} with: name: win32_x64-${{matrix.target}}-${{matrix.config}} @@ -165,7 +165,7 @@ jobs: matrix: config: [debug, release] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: build test run: | test/build.bat ${{matrix.config}} @@ -180,14 +180,14 @@ jobs: needs: build-win32 runs-on: windows-latest steps: - - uses: actions/checkout@v3 - - uses: actions/download-artifact@v3 + - uses: actions/checkout@v4 + - uses: actions/download-artifact@v4 with: path: build/artifacts - name: build dist run: | ./dist.bat - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: dist-win32-x64 path: dist