Skip to content

Commit

Permalink
Refining action
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacarte committed Sep 12, 2019
1 parent 6eb9675 commit 917c32c
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/compile_and_validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,20 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Run python script to compile and validate
run: python3 utils/compile_and_verify.py linux benchmark_programs
- name: Add new report files to repo and commit
run: git add utils/compile_and_verify && git commit -m 'Compiling and validating' && git push
run: python3 ./utils/compile_and_verify/compile_and_verify.py linux benchmark_programs
- name: GIT
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: git remote add origin-tok https://Jacarte:${GITHUB_TOKEN}@github.com/KTH/slumps.git && git remote remove origin

- name: GIT
run: git config --global user.email "[email protected]" && git config --global user.name "Jacarte"

- name: GIT
run: git checkout -b master && git add ./utils/compile_and_verify && git commit -m 'Compiling and validating'

- name: GIT
run: git push origin-tok master

0 comments on commit 917c32c

Please sign in to comment.