@@ -106,6 +106,7 @@ function unpack(packagePath, version) {
106106 return __awaiter ( this , void 0 , void 0 , function * ( ) {
107107 core . debug ( 'Extracting package' ) ;
108108 const unpackedPath = yield extractXar ( packagePath ) ;
109+ yield exec_1 . exec ( 'ls' , [ '-las' , unpackedPath ] ) ;
109110 const extractedPath = yield toolCache . extractTar ( path . join ( unpackedPath , 'Payload' ) ) ;
110111 core . debug ( 'Package extracted' ) ;
111112 const cachedPath = yield toolCache . cacheDir ( extractedPath , 'swift-macOS' , version ) ;
@@ -116,7 +117,7 @@ function unpack(packagePath, version) {
116117//FIXME: Workaround until https://github.com/actions/toolkit/pull/207 is merged
117118function extractXar ( file ) {
118119 return __awaiter ( this , void 0 , void 0 , function * ( ) {
119- const dest = path . join ( process . env [ 'RUNNER_TEMP' ] || '' , 'setup-swift' , 'tmp' , ' extract') ;
120+ const dest = path . join ( process . env [ 'RUNNER_TEMP' ] || '' , 'setup-swift' , 'extract.tmp ' ) ;
120121 yield io . mkdirP ( dest ) ;
121122 const xarPath = yield io . which ( 'xar' , true ) ;
122123 yield exec_1 . exec ( `"${ xarPath } "` , [ '-x' , '-C' , dest , '-f' , file ] ) ;
0 commit comments