mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-09 22:49:57 +09:00
Merge pull request #2520 from mainsail-org/mir/gh-action-whats-left-fix
fix github action for what is left data
This commit is contained in:
9
.github/workflows/cron-ci.yaml
vendored
9
.github/workflows/cron-ci.yaml
vendored
@@ -97,13 +97,13 @@ jobs:
|
||||
with:
|
||||
command: build
|
||||
args: --release --verbose
|
||||
- name: collect what is left data
|
||||
- name: Collect what is left data
|
||||
run: |
|
||||
chmod +x ./whats_left.sh
|
||||
./whats_left.sh > whats_left.temp
|
||||
env:
|
||||
RUSTPYTHONPATH: ${{ github.workspace }}/Lib
|
||||
- name: upload data to the website
|
||||
- name: Upload data to the website
|
||||
env:
|
||||
SSHKEY: ${{ secrets.ACTIONS_TESTS_DATA_DEPLOY_KEY }}
|
||||
GITHUB_ACTOR: ${{ github.actor }}
|
||||
@@ -116,7 +116,6 @@ jobs:
|
||||
cd website
|
||||
[ -f ./_data/whats_left.temp ] && cp ./_data/whats_left.temp ./_data/whats_left_lastrun.temp
|
||||
cp ../whats_left.temp ./_data/whats_left.temp
|
||||
git add ./_data/whats_left_lastrun.temp
|
||||
git add ./_data/whats_left.temp
|
||||
git -c user.name="Github Actions" -c user.email="actions@github.com" commit -m "Update regression test results" --author="$GITHUB_ACTOR"
|
||||
git add -A
|
||||
git -c user.name="Github Actions" -c user.email="actions@github.com" commit -m "Update what is left results" --author="$GITHUB_ACTOR"
|
||||
git push
|
||||
Reference in New Issue
Block a user