Skip to content

Commit

Permalink
Fix #76: Use same options for rsync in both directions
Browse files Browse the repository at this point in the history
  • Loading branch information
mhuijgen committed Feb 2, 2024
1 parent cbda22d commit 094bba9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/action/action.ts
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 094bba9

Please sign in to comment.