<- .github: actions/upload-artifact@v4 suddenly stopped working (see … #921
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: cxon benchmarks | |
on: [ push, pull_request, workflow_dispatch ] | |
jobs: | |
gnuplot: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout workflows-data | |
uses: actions/checkout@v3 | |
- name: gnuplot setup | |
run: | | |
sudo apt-get update | |
sudo apt-get install gnuplot | |
- name: Generate | |
run: | | |
cd cxon/benchmarks | |
chmod +x src/plot-all.sh | |
src/plot-all.sh | |
- name: Commit | |
run: | | |
cd cxon/benchmarks | |
if [[ `git status --porcelain` ]]; then | |
git config user.name "oknenavin" && git config user.email ${{ secrets.CXON_MAIL }} | |
git pull | |
git add . && git commit -am "|${{ github.event.head_commit.message }}" | |
git push | |
fi |