Skip to content

Commit

Permalink
Fix cross-platform-actions#76: Use same options for rsync in both dir…
Browse files Browse the repository at this point in the history
…ections
  • Loading branch information
mhuijgen authored Jan 30, 2024
1 parent cbda22d commit 36f29c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/action/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ export class Action {
core.debug(`Syncing files to VM, excluding: ${excludePaths}`)
// prettier-ignore
await exec.exec('rsync', [
`-auzrtopg${this.syncVerboseFlag}`,
`-auz${this.syncVerboseFlag}`,
'--exclude', '_actions/cross-platform-actions/action',
...flatMap(excludePaths, p => ['--exclude', p]),
`${this.homeDirectory}/`,
Expand All @@ -246,7 +246,7 @@ export class Action {
core.info('Syncing back files')
// prettier-ignore
await exec.exec('rsync', [
`-uzrtopg${this.syncVerboseFlag}`,
`-auz${this.syncVerboseFlag}`,
`runner@${this.cpaHost}:work/`,
this.homeDirectory
])
Expand Down

0 comments on commit 36f29c5

Please sign in to comment.