Skip to content

Commit 52faaea

Browse files
committed
test
1 parent 31ce56b commit 52faaea

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/details-check.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,9 @@ jobs:
110110
run: |
111111
git config --global user.email "actions@github.com"
112112
git config --global user.name "GitHub Actions"
113-
branch_name="details-outputs"
114-
git checkout $branch_name || git checkout -b $branch_name
115-
git add *.txt
113+
git checkout -b details-outputs
114+
git add *.txt || echo "No txt files to add"
116115
git commit -m "Publish details outputs txt files" || echo "Nothing to commit"
117-
git push origin $branch_name || echo "Nothing to push"
116+
git push origin details-outputs || echo "Nothing to push"
118117
env:
119118
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)