From 1d10e36325eb6bfc1cde8754ff48e350b4d1eb00 Mon Sep 17 00:00:00 2001 From: Emre Yigit Date: Mon, 14 Oct 2024 15:05:25 +0300 Subject: [PATCH] Update Github Actions [API-2265] (#924) --- .github/actions/install/action.yml | 2 +- .github/workflows/assign-milestones.yml | 2 +- .github/workflows/build-and-test.yml | 2 +- .github/workflows/build-pr.yml | 2 +- .github/workflows/build-release.yml | 18 +++++++++--------- .github/workflows/create-checks.yml | 2 +- .github/workflows/get-frameworks.yml | 2 +- .github/workflows/trigger-release.yml | 4 ++-- 8 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/actions/install/action.yml b/.github/actions/install/action.yml index a30808c928..90de1145f2 100644 --- a/.github/actions/install/action.yml +++ b/.github/actions/install/action.yml @@ -46,7 +46,7 @@ runs: # Install .NET - name: Install .NET if: inputs.dotnet == 'true' - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: | 3.1.x diff --git a/.github/workflows/assign-milestones.yml b/.github/workflows/assign-milestones.yml index b5858d704f..9e4038a157 100644 --- a/.github/workflows/assign-milestones.yml +++ b/.github/workflows/assign-milestones.yml @@ -11,7 +11,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 553af4c451..294a3477b7 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -66,7 +66,7 @@ jobs: # checkout the hazelcast/hazelcast-csharp-client repository # including all submodules, we are going to need them - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ inputs.ref }} token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml index c4e23df4a0..e9c871cc80 100644 --- a/.github/workflows/build-pr.yml +++ b/.github/workflows/build-pr.yml @@ -45,7 +45,7 @@ jobs: # checkout the hazelcast/hazelcast-csharp-client repository # bare minimum - just to use actions - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ inputs.ref }} token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 52639328ba..ba1c494f1e 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -42,7 +42,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: token: ${{ secrets.GITHUB_TOKEN }} fetch-depth: 2 # needed to validate parents @@ -164,7 +164,7 @@ jobs: # checkout the hazelcast/hazelcast-csharp-client repository - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: token: ${{ secrets.GITHUB_TOKEN }} @@ -200,7 +200,7 @@ jobs: # checkout the hazelcast/hazelcast-csharp-client repository - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: token: ${{ secrets.GITHUB_TOKEN }} @@ -215,7 +215,7 @@ jobs: # checkout the hazelcast/hazelcast-csharp-client repository # including all submodules, we are going to need them - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: token: ${{ secrets.GITHUB_TOKEN }} submodules: true @@ -251,7 +251,7 @@ jobs: # checkout documentation - name: Checkout documentation - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: token: ${{ secrets.GITHUB_TOKEN }} ref: gh-pages @@ -289,7 +289,7 @@ jobs: # checkout the hazelcast/hazelcast-csharp-client repository - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: token: ${{ secrets.GITHUB_TOKEN }} @@ -303,7 +303,7 @@ jobs: # checkout the hazelcast/hazelcast-csharp-client repository - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: token: ${{ secrets.GITHUB_TOKEN }} submodules: true @@ -319,7 +319,7 @@ jobs: # "${{ github.token }} is scoped to the current repository, so if you want to checkout a different # repository that is private you will need to provide your own PAT." - name: Checkout devops - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: hazelcast/DevOps ref: master @@ -367,7 +367,7 @@ jobs: # checkout documentation - name: Checkout documentation - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: token: ${{ secrets.GITHUB_TOKEN }} ref: gh-pages diff --git a/.github/workflows/create-checks.yml b/.github/workflows/create-checks.yml index d333d843a2..072c498059 100644 --- a/.github/workflows/create-checks.yml +++ b/.github/workflows/create-checks.yml @@ -44,7 +44,7 @@ jobs: # checkout the hazelcast/hazelcast-csharp-client repository # no need for submodules, but we need the .github directory - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: token: ${{ secrets.GITHUB_TOKEN }} submodules: false diff --git a/.github/workflows/get-frameworks.yml b/.github/workflows/get-frameworks.yml index eac6ebeb6d..786be28679 100644 --- a/.github/workflows/get-frameworks.yml +++ b/.github/workflows/get-frameworks.yml @@ -36,7 +36,7 @@ jobs: # checkout the hazelcast/hazelcast-csharp-client repository # no need for submodules here - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/trigger-release.yml b/.github/workflows/trigger-release.yml index 3037f6b856..4ef447ca71 100644 --- a/.github/workflows/trigger-release.yml +++ b/.github/workflows/trigger-release.yml @@ -22,7 +22,7 @@ jobs: # check the repository out - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: token: ${{ secrets.GITHUB_TOKEN }} @@ -36,7 +36,7 @@ jobs: # "${{ github.token }} is scoped to the current repository, so if you want to checkout a different # repository that is private you will need to provide your own PAT." - name: Checkout devops - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: hazelcast/DevOps ref: master