ci(linux): fix artifact usage [skip ci]
This commit is contained in:
parent
158d27571f
commit
a4ed6272bb
3 changed files with 7 additions and 11 deletions
10
.github/workflows/insider-linux.yml
vendored
10
.github/workflows/insider-linux.yml
vendored
|
@ -98,13 +98,13 @@ jobs:
|
||||||
|
|
||||||
- name: Compress vscode artifact
|
- name: Compress vscode artifact
|
||||||
run: |
|
run: |
|
||||||
tar -cz --exclude='.build/node' --exclude='.git' --exclude='**/node_modules' -f vscode.tar.gz vscode
|
tar -c --exclude='.build/node' --exclude='.git' --exclude='**/node_modules' -f vscode.tar vscode
|
||||||
|
|
||||||
- name: Upload vscode artifact
|
- name: Upload vscode artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: vscode.tar.gz
|
name: vscode.tar
|
||||||
path: ./vscode.tar.gz
|
path: ./vscode.tar
|
||||||
retention-days: ${{ needs.check.outputs.SHOULD_DEPLOY == 'yes' && 30 || 1 }}
|
retention-days: ${{ needs.check.outputs.SHOULD_DEPLOY == 'yes' && 30 || 1 }}
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
@ -159,7 +159,7 @@ jobs:
|
||||||
- name: Download vscode artifact
|
- name: Download vscode artifact
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: vscode.tar.gz
|
name: vscode.tar
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
env:
|
env:
|
||||||
|
@ -234,7 +234,7 @@ jobs:
|
||||||
- name: Download vscode artifact
|
- name: Download vscode artifact
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: vscode.tar.gz
|
name: vscode.tar
|
||||||
if: env.SHOULD_BUILD_REH != 'no' || github.event.inputs.generate_assets == 'true'
|
if: env.SHOULD_BUILD_REH != 'no' || github.event.inputs.generate_assets == 'true'
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
|
|
|
@ -7,9 +7,7 @@ if [[ "${CI_BUILD}" == "no" ]]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -f "./vscode.tar.gz" ]]; then
|
tar -xf ./vscode.tar .
|
||||||
tar -xfz ./vscode.tar.gz .
|
|
||||||
fi
|
|
||||||
|
|
||||||
cd vscode || { echo "'vscode' dir not found"; exit 1; }
|
cd vscode || { echo "'vscode' dir not found"; exit 1; }
|
||||||
|
|
||||||
|
|
|
@ -7,9 +7,7 @@ if [[ "${CI_BUILD}" == "no" ]]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -f "./vscode.tar.gz" ]]; then
|
tar -xf ./vscode.tar .
|
||||||
tar -xfz ./vscode.tar.gz .
|
|
||||||
fi
|
|
||||||
|
|
||||||
cd vscode || { echo "'vscode' dir not found"; exit 1; }
|
cd vscode || { echo "'vscode' dir not found"; exit 1; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue