Skip to content

Commit 4de4dbd

Browse files
committed
fix github action for what is left data
1 parent 5d2d87c commit 4de4dbd

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/cron-ci.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,13 +97,13 @@ jobs:
9797
with:
9898
command: build
9999
args: --release --verbose
100-
- name: collect what is left data
100+
- name: Collect what is left data
101101
run: |
102102
chmod +x ./whats_left.sh
103103
./whats_left.sh > whats_left.temp
104104
env:
105105
RUSTPYTHONPATH: ${{ github.workspace }}/Lib
106-
- name: upload data to the website
106+
- name: Upload data to the website
107107
env:
108108
SSHKEY: ${{ secrets.ACTIONS_TESTS_DATA_DEPLOY_KEY }}
109109
GITHUB_ACTOR: ${{ github.actor }}
@@ -116,7 +116,6 @@ jobs:
116116
cd website
117117
[ -f ./_data/whats_left.temp ] && cp ./_data/whats_left.temp ./_data/whats_left_lastrun.temp
118118
cp ../whats_left.temp ./_data/whats_left.temp
119-
git add ./_data/whats_left_lastrun.temp
120-
git add ./_data/whats_left.temp
121-
git -c user.name="Github Actions" -c user.email="[email protected]" commit -m "Update regression test results" --author="$GITHUB_ACTOR"
119+
git add -A
120+
git -c user.name="Github Actions" -c user.email="[email protected]" commit -m "Update what is left results" --author="$GITHUB_ACTOR"
122121
git push

0 commit comments

Comments
 (0)