File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -301,6 +301,7 @@ async function maybeDownload(
301301 let elideDir : string | null = null
302302
303303 try {
304+ core . debug ( `Checking for cached tool 'elide' at version '${ version . tag_name } '` )
304305 elideDir = toolCache . find ( 'elide' , version . tag_name , options . arch )
305306 } catch ( err ) {
306307 /* istanbul ignore next */
@@ -373,7 +374,9 @@ export async function downloadRelease(
373374 // sniff archive type from URL
374375 let archiveType : ArchiveType = ArchiveType . GZIP
375376 /* istanbul ignore next */
376- if ( options . custom_url . endsWith ( '.zip' ) ) {
377+ if ( options . custom_url . endsWith ( '.txz' ) ) {
378+ archiveType = ArchiveType . TXZ
379+ } else if ( options . custom_url . endsWith ( '.zip' ) ) {
377380 archiveType = ArchiveType . ZIP
378381 }
379382
You can’t perform that action at this time.
0 commit comments