Update CI.yml

This commit is contained in:
Lyon 2022-04-15 15:02:32 +08:00 committed by GitHub
parent 08e59dcfaf
commit 860dfcd99a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,19 +55,19 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
auto-push: true
- name: Filter for perfoment point
run: |
git clone -b gh-pages https://github.com/pikastech/pikascript ${{github.workspace}}/../pikapages
cd ${{github.workspace}}/../pikapages/dev/bench
git config --global user.email "liang6516@outlook.com"
git config --global user.name "pikastech"
git remote set-url origin https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
git pull --rebase
pip3 install matplotlib
pip3 install numpy
python3 filter.py
git commit --allow-empty -a -m "update data_after.js"
git push
# - name: Filter for perfoment point
# run: |
# git clone -b gh-pages https://github.com/pikastech/pikascript ${{github.workspace}}/../pikapages
# cd ${{github.workspace}}/../pikapages/dev/bench
# git config --global user.email "liang6516@outlook.com"
# git config --global user.name "pikastech"
# git remote set-url origin https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
# git pull --rebase
# pip3 install matplotlib
# pip3 install numpy
# python3 filter.py
# git commit --allow-empty -a -m "update data_after.js"
# git push
# packageManager-windows:
# runs-on: windows-latest