Skip to content

Commit

Permalink
ci: restore protocol timestampsを実行する最初でsafedirectoryを追加する
Browse files Browse the repository at this point in the history
  • Loading branch information
rito528 committed Aug 8, 2023
1 parent 562f245 commit 6d91833
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ jobs:
- name: Restore localDependencies' timestamps
# 参考: https://qiita.com/tomlla/items/219cea9dd071c8a9e147
run: |
git config --global --add safe.directory /__w/SeichiAssist/SeichiAssist
for jar in localDependencies/*.jar; do
timestamp=`git log -1 --pretty=format:'%cd' --date=format:'%Y%m%d%H%M.%S' $jar`
touch -t "$timestamp" $jar
Expand Down

0 comments on commit 6d91833

Please sign in to comment.