mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
new units cache strategy
This commit is contained in:
@@ -33,11 +33,12 @@ runs:
|
||||
- name: tar and upload persistent artifacts
|
||||
shell: bash
|
||||
env:
|
||||
REMOTE_PATH: "alfresco-ng2-components/build-cache/${{ hashFiles('**/package-lock.json') }} }}"
|
||||
REMOTE_PATH: "alfresco-ng2-components/build-cache/${{ hashFiles('**/package-lock.json') }}"
|
||||
run: |
|
||||
if [ -n "${{ inputs.cache-key-suffix }}" ]; then
|
||||
REMOTE_PATH="${REMOTE_PATH}-${{ inputs.cache-key-suffix }}"
|
||||
fi
|
||||
echo "pushing to $REMOTE_PATH"
|
||||
packages=( $(echo ${{ inputs.persistent-packages }}) )
|
||||
for i in "${packages[@]}"; do
|
||||
time tar czf $i.tar.gz $i
|
||||
|
||||
Reference in New Issue
Block a user