Prepopulate mvn cache before building vscode-concourse snapshot
This commit is contained in:
@@ -3,6 +3,14 @@ set -e
|
||||
workdir=`pwd`
|
||||
sources=$workdir/sts4/vscode-extensions/$extension_id
|
||||
|
||||
if [ -d "maven-cache" ]; then
|
||||
echo "Prepopulating maven cache"
|
||||
tar xzf maven-cache/*.tar.gz -C ${HOME}
|
||||
else
|
||||
echo "!!!No stored maven cache found!!! "
|
||||
echo "!!!This may slow down the build!!!"
|
||||
fi
|
||||
|
||||
cd ${sources}/../commons-vscode
|
||||
npm install
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
inputs:
|
||||
- name: sts4
|
||||
- name: maven-cache
|
||||
outputs:
|
||||
- name: out
|
||||
platform: linux
|
||||
|
||||
Reference in New Issue
Block a user