From d665bfa1fd5fe07e6881fe15ef6946470b4163a2 Mon Sep 17 00:00:00 2001 From: Vedansh Date: Wed, 30 Oct 2024 10:44:17 +0530 Subject: [PATCH] ci updates. --- .github/workflows/insider-linux.yml | 21 +++++++++++---------- .github/workflows/stable-linux.yml | 16 ++++++++-------- 2 files changed, 19 insertions(+), 18 deletions(-) diff --git a/.github/workflows/insider-linux.yml b/.github/workflows/insider-linux.yml index 18b9cee69ba..3ca67ef30fa 100644 --- a/.github/workflows/insider-linux.yml +++ b/.github/workflows/insider-linux.yml @@ -138,7 +138,7 @@ jobs: if: env.SHOULD_BUILD == 'yes' - name: Upload vscode artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: vscode path: ./vscode.tar.gz @@ -182,7 +182,7 @@ jobs: SHOULD_DEPLOY: ${{ env.SHOULD_DEPLOY }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ env.GITHUB_BRANCH }} if: env.SHOULD_BUILD == 'yes' @@ -209,7 +209,7 @@ jobs: if: env.SHOULD_BUILD == 'yes' - name: Download vscode artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: vscode if: env.SHOULD_BUILD == 'yes' @@ -244,7 +244,7 @@ jobs: if: env.SHOULD_BUILD == 'yes' && env.SHOULD_DEPLOY == 'yes' - name: Upload assets - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: bin-${{ matrix.vscode_arch }} path: assets/ @@ -287,7 +287,7 @@ jobs: if: needs.check.outputs.SHOULD_BUILD == 'yes' || github.event.inputs.generate_assets == 'true' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ env.GITHUB_BRANCH }} if: env.DISABLED != 'yes' @@ -333,7 +333,7 @@ jobs: if: env.DISABLED != 'yes' - name: Download vscode artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: vscode if: env.DISABLED != 'yes' && (env.SHOULD_BUILD_REH != 'no' || env.SHOULD_BUILD_REH_WEB != 'no' || github.event.inputs.generate_assets == 'true') @@ -385,7 +385,7 @@ jobs: if: needs.check.outputs.SHOULD_BUILD == 'yes' || github.event.inputs.generate_assets == 'true' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ env.GITHUB_BRANCH }} @@ -415,7 +415,7 @@ jobs: if: env.SHOULD_BUILD == 'yes' - name: Download vscode artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: vscode if: env.SHOULD_BUILD_REH != 'no' || github.event.inputs.generate_assets == 'true' @@ -487,7 +487,7 @@ jobs: if: needs.check.outputs.SHOULD_DEPLOY == 'yes' && vars.DISABLE_INSIDER_SNAP != 'yes' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ env.GITHUB_BRANCH }} @@ -496,7 +496,8 @@ jobs: PULL_REQUEST_ID: ${{ github.event.inputs.checkout_pr }} run: ./get_pr.sh - - uses: docker/setup-qemu-action@v3 + - name: Setup QEMU + uses: docker/setup-qemu-action@v3 - uses: diddlesnaps/snapcraft-multiarch-action@v1 with: diff --git a/.github/workflows/stable-linux.yml b/.github/workflows/stable-linux.yml index 4ea18d833c3..5f91cff897c 100644 --- a/.github/workflows/stable-linux.yml +++ b/.github/workflows/stable-linux.yml @@ -137,7 +137,7 @@ jobs: if: env.SHOULD_BUILD == 'yes' - name: Upload vscode artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: vscode path: ./vscode.tar.gz @@ -181,7 +181,7 @@ jobs: SHOULD_DEPLOY: ${{ env.SHOULD_DEPLOY }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ env.GITHUB_BRANCH }} if: env.SHOULD_BUILD == 'yes' @@ -208,7 +208,7 @@ jobs: if: env.SHOULD_BUILD == 'yes' - name: Download vscode artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: vscode if: env.SHOULD_BUILD == 'yes' @@ -286,7 +286,7 @@ jobs: if: needs.check.outputs.SHOULD_BUILD == 'yes' || github.event.inputs.generate_assets == 'true' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ env.GITHUB_BRANCH }} if: env.DISABLED != 'yes' @@ -332,7 +332,7 @@ jobs: if: env.DISABLED != 'yes' - name: Download vscode artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: vscode if: env.DISABLED != 'yes' && (env.SHOULD_BUILD_REH != 'no' || env.SHOULD_BUILD_REH_WEB != 'no' || github.event.inputs.generate_assets == 'true') @@ -384,7 +384,7 @@ jobs: if: needs.check.outputs.SHOULD_BUILD == 'yes' || github.event.inputs.generate_assets == 'true' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ env.GITHUB_BRANCH }} @@ -414,7 +414,7 @@ jobs: if: env.SHOULD_BUILD == 'yes' - name: Download vscode artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: vscode if: env.SHOULD_BUILD_REH != 'no' || github.event.inputs.generate_assets == 'true' @@ -483,7 +483,7 @@ jobs: if: needs.check.outputs.SHOULD_DEPLOY == 'yes' && vars.DISABLE_STABLE_SNAP != 'yes' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ env.GITHUB_BRANCH }}