提交 f11391f6 编写于 作者: J Joao Moreno

fix artifacts

上级 86fa4e49
......@@ -96,7 +96,8 @@ steps:
npm run gulp -- "vscode-linux-$(VSCODE_ARCH)-prepare-snap"
# Pack snap tarball artifact, in order to preserve file perms
SNAP_TARBALL_PATH="$REPO/.build/linux/snap-$(VSCODE_ARCH).tar.gz"
mkdir -p $REPO/.build/linux/snap-tarball
SNAP_TARBALL_PATH="$REPO/.build/linux/snap-tarball/snap-$(VSCODE_ARCH).tar.gz"
rm -rf $SNAP_TARBALL_PATH
(cd .build/linux && tar -czf $SNAP_TARBALL_PATH snap)
......@@ -107,4 +108,4 @@ steps:
displayName: 'Publish Pipeline Artifact'
inputs:
artifactName: snap-$(VSCODE_ARCH)
targetPath: .build/linux/snap-$(VSCODE_ARCH).tar.gz
targetPath: .build/linux/snap-tarball
......@@ -11,7 +11,7 @@ steps:
displayName: 'Download Pipeline Artifact'
inputs:
artifactName: snap-$(VSCODE_ARCH)
targetPath: .build/linux/snap-$(VSCODE_ARCH).tar.gz
targetPath: .build/linux/snap-tarball
- script: |
set -e
......@@ -23,7 +23,7 @@ steps:
SNAP_ROOT="$REPO/.build/linux/snap/$ARCH"
# Unpack snap tarball artifact, in order to preserve file perms
SNAP_TARBALL_PATH="$REPO/.build/linux/snap-$ARCH.tar.gz"
SNAP_TARBALL_PATH="$REPO/.build/linux/snap-tarball/snap-$ARCH.tar.gz"
(cd .build/linux && tar -xzf $SNAP_TARBALL_PATH)
ls -la "$SNAP_ROOT"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册