Skip to content

Commit 12ab196

Browse files
committed
test
1 parent 52faaea commit 12ab196

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/details-check.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,11 @@ jobs:
110110
run: |
111111
git config --global user.email "actions@github.com"
112112
git config --global user.name "GitHub Actions"
113-
git checkout -b details-outputs
113+
git fetch origin details-outputs:details-outputs || git checkout --orphan details-outputs
114+
git checkout details-outputs
114115
git add *.txt || echo "No txt files to add"
115116
git commit -m "Publish details outputs txt files" || echo "Nothing to commit"
117+
git pull --rebase origin details-outputs || echo "Nothing to rebase"
116118
git push origin details-outputs || echo "Nothing to push"
117119
env:
118120
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)