From 70060752e1049fadcfd4ae686d166e685520812f Mon Sep 17 00:00:00 2001 From: Taoyuesong <45005220+Taoyuesong@users.noreply.github.com> Date: Sun, 15 Sep 2024 03:48:24 +0800 Subject: [PATCH] chore: update ci jobs version (#369) Signed-off-by: Taoyuesong <634774653@qq.com> --- .github/workflows/build.yml | 16 ++++++++-------- .github/workflows/infersharp.yml | 14 +++++++------- .github/workflows/release.yml | 16 ++++++++-------- .github/workflows/semantic.yml | 2 +- 4 files changed, 24 insertions(+), 24 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8503a75..517e8c0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,12 +17,12 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup .NET SDK - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v4 with: dotnet-version: | 3.1.x @@ -70,7 +70,7 @@ jobs: - name: Upload test results artefacts if: github.repository_owner == 'casbin' && github.event_name == 'push' - uses: actions/upload-artifact@v1.0.0 + uses: actions/upload-artifact@v4 with: name: "drop-ci-test-results" path: './test-results' @@ -82,12 +82,12 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Dry run semantic-release run: | export PATH=$PATH:$(yarn global bin) - yarn global add semantic-release@17.4.3 + yarn global add semantic-release@24.1.1 semantic-release --dry-run release-build-version: @@ -97,7 +97,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -108,7 +108,7 @@ jobs: run: git tag -l -n - name: Setup .NET SDK - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v4 with: dotnet-version: | 3.1.x @@ -147,7 +147,7 @@ jobs: } - name: Upload packages artefacts - uses: actions/upload-artifact@v1.0.0 + uses: actions/upload-artifact@v4 with: name: "drop-ci-build-packages" path: './packages' diff --git a/.github/workflows/infersharp.yml b/.github/workflows/infersharp.yml index 9f00fbd..0685b9b 100644 --- a/.github/workflows/infersharp.yml +++ b/.github/workflows/infersharp.yml @@ -9,12 +9,12 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup .NET SDK - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v4 with: dotnet-version: | 3.1.x @@ -43,7 +43,7 @@ jobs: run: cat infer-out/report.txt - name: Upload net8.0 infer# results artefacts - uses: actions/upload-artifact@v1.0.0 + uses: actions/upload-artifact@v4 with: name: "infersharp-net8.0-results" path: './infer-out/report.txt' @@ -57,7 +57,7 @@ jobs: run: cat infer-out/report.txt - name: Upload net7.0 infer# results artefacts - uses: actions/upload-artifact@v1.0.0 + uses: actions/upload-artifact@v4 with: name: "infersharp-net7.0-results" path: './infer-out/report.txt' @@ -71,7 +71,7 @@ jobs: run: cat infer-out/report.txt - name: Upload net6.0 infer# results artefacts - uses: actions/upload-artifact@v1.0.0 + uses: actions/upload-artifact@v4 with: name: "infersharp-net6.0-results" path: './infer-out/report.txt' @@ -85,7 +85,7 @@ jobs: run: cat infer-out/report.txt - name: Upload net5.0 infer# results artefacts - uses: actions/upload-artifact@v1.0.0 + uses: actions/upload-artifact@v4 with: name: "infersharp-net5.0-results" path: './infer-out/report.txt' @@ -99,7 +99,7 @@ jobs: run: cat infer-out/report.txt - name: Upload net3.1 infer# results artefacts - uses: actions/upload-artifact@v1.0.0 + uses: actions/upload-artifact@v4 with: name: "infersharp-net3.1-results" path: './infer-out/report.txt' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a13aa6a..40a3dec 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,12 +24,12 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup .NET SDK - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v4 with: dotnet-version: | 3.1.x @@ -75,7 +75,7 @@ jobs: } - name: Upload test results artefacts - uses: actions/upload-artifact@v1.0.0 + uses: actions/upload-artifact@v4 with: name: "drop-ci-test-results" path: './test-results' @@ -87,12 +87,12 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Run semantic-release run: | export PATH=$PATH:$(yarn global bin) - yarn global add semantic-release@19.0.2 + yarn global add semantic-release@24.1.1 semantic-release push-packages: @@ -102,7 +102,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -113,7 +113,7 @@ jobs: run: git tag -l -n - name: Setup .NET SDK - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v4 with: dotnet-version: | 3.1.x @@ -148,7 +148,7 @@ jobs: } - name: Upload packages artefacts - uses: actions/upload-artifact@v1.0.0 + uses: actions/upload-artifact@v4 with: name: "drop-ci-packages" path: './packages' diff --git a/.github/workflows/semantic.yml b/.github/workflows/semantic.yml index 4669873..69fc6b9 100644 --- a/.github/workflows/semantic.yml +++ b/.github/workflows/semantic.yml @@ -8,7 +8,7 @@ jobs: runs-on: windows-latest steps: - name: semantic-pull-request - uses: amannn/action-semantic-pull-request@v4 + uses: amannn/action-semantic-pull-request@v5 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: