File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed
Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 11name : ' Setup the Go environment'
22description : ' Installs go and restores/saves the build/module cache'
33inputs :
4- git-repo-dirs :
5- description : " Go code git repository directories (for mtime-restoration). Note that this requires cloning the repo's full history"
4+ git-dir :
5+ description : " Git repository directory (for mtime-restoration). Note that this requires cloning the repo's full history"
66 required : false
7- default : ' ["."] '
7+ default : ' . '
88runs :
99 using : " composite"
1010 steps :
2323 # recent commit that modified them as mtimes affect the Go test cache.
2424 # See https://github.com/golang/go/issues/58571 for details
2525 # Note that this requires checking out the repos with fetch-depth: 0
26- - name : Restore modification time of checkout files
27- uses : chetan/git-restore-mtime-action@075f9bc9d159805603419d50f794bd9f33252ebe
28-
26+ - if : inputs.git-dir != ''
27+ name : Restore modification time of checkout files
28+ uses : chetan/git-restore-mtime-action@301991bb840275c304501780b55c4cc0ba7450ba
29+ with :
30+ working-directory : ${{ inputs.git-dir }}
2931
3032 # KEY_PREFIX must uniquely identify the specific instance of a job executing.
3133 - shell : bash
Original file line number Diff line number Diff line change 9090 - uses : stellar/actions/rust-cache@main
9191 - uses : ./soroban-rpc/.github/actions/setup-go
9292 with :
93- working-directory : ./soroban-rpc/
93+ git-dir : ./soroban-rpc/
9494 - name : Build system test with component versions
9595 run : |
9696 cd $GITHUB_WORKSPACE/system-test
You can’t perform that action at this time.
0 commit comments