From e1ff4b4383b6138d3138812be4b9549da99fcacc Mon Sep 17 00:00:00 2001 From: "v.savkin" Date: Sun, 4 Oct 2026 11:25:36 +0600 Subject: [PATCH] chore: the samples' automation runs the actions on Node 24 - regenerate.yml and report.yml use checkout v7 and setup-dotnet v6, as the template's workflows do since its 2.7.0 - both run on ubuntu-24.04 instead of ubuntu-latest --- .github/workflows/regenerate.yml | 14 +++++++------- .github/workflows/report.yml | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/regenerate.yml b/.github/workflows/regenerate.yml index 29febfd..65668e3 100644 --- a/.github/workflows/regenerate.yml +++ b/.github/workflows/regenerate.yml @@ -29,13 +29,13 @@ env: jobs: check: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 outputs: tag: ${{ steps.release.outputs.tag }} regenerate: ${{ steps.release.outputs.regenerate }} branches: ${{ steps.release.outputs.branches }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - id: release env: GH_TOKEN: ${{ github.token }} @@ -67,17 +67,17 @@ jobs: regenerate: needs: check if: needs.check.outputs.regenerate == 'true' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 strategy: fail-fast: false matrix: include: ${{ fromJSON(needs.check.outputs.branches) }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: path: automation - - uses: actions/setup-dotnet@v4 + - uses: actions/setup-dotnet@v6 with: dotnet-version: 8.0.x @@ -114,9 +114,9 @@ jobs: keep-alive: needs: check if: needs.check.outputs.regenerate != 'true' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - env: DEPLOY_KEY: ${{ secrets.SAMPLES_DEPLOY_KEY }} run: | diff --git a/.github/workflows/report.yml b/.github/workflows/report.yml index 0589faf..424dcc5 100644 --- a/.github/workflows/report.yml +++ b/.github/workflows/report.yml @@ -21,9 +21,9 @@ jobs: report: # A pull request's CI reports nothing: only what lands on a sample branch does. if: github.event.workflow_run.event != 'pull_request' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: path: automation