Skip to content

Commit

Permalink
ci updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
offensive-vk committed Oct 30, 2024
1 parent 04a8a93 commit d665bfa
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 18 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/insider-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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'
Expand All @@ -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'
Expand Down Expand Up @@ -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/
Expand Down Expand Up @@ -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'
Expand Down Expand Up @@ -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')
Expand Down Expand Up @@ -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 }}

Expand Down Expand Up @@ -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'
Expand Down Expand Up @@ -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 }}

Expand All @@ -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:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/stable-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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'
Expand All @@ -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'
Expand Down Expand Up @@ -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'
Expand Down Expand Up @@ -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')
Expand Down Expand Up @@ -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 }}

Expand Down Expand Up @@ -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'
Expand Down Expand Up @@ -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 }}

Expand Down

0 comments on commit d665bfa

Please sign in to comment.