We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ec4e67 commit 0e48690Copy full SHA for 0e48690
.github/workflows/download-cache.yml
@@ -79,9 +79,11 @@ jobs:
79
cp -- "$src_file" "$new_name"
80
echo "Renamed: $src_file -> $new_name"
81
}
82
- SOURCE_TYPE=$(cat downloads/.lock.json | jq -M -c -r '."${{ matrix.source }}".source_type'
+ SOURCE_TYPE=$(cat downloads/.lock.json | jq -M -c -r '."${{ matrix.source }}".source_type')
83
if [ "$SOURCE_TYPE" = "archive" ]; then
84
+ cd downloads
85
rename_file $(cat downloads/.lock.json | jq -M -c -r '."${{ matrix.source }}".filename') ${{ matrix.source }}-spc-mirror
86
+ cd ..
87
else
88
cd downloads
89
tar -cJvf ${{ matrix.source }}-spc-mirror.txz $(cat downloads/.lock.json | jq -M -c -r '."${{ matrix.source }}".dirname')
0 commit comments