Skip to content

Commit

Permalink
error management in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
SilenZcience committed Apr 10, 2023
1 parent 2cd2ecf commit 0c8594b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build_executable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,18 @@ jobs:
- name: Compile Package
run: |
python ./workflowHelper/build.py
- name: Test Executable
run: |
./bin/catw.exe -h
./bin/catw.exe -v
./bin/catw.exe -p ./bin/catw.exe
- name: Show and Push
run: |
git status
git config --local user.name 'github-actions[bot]'
git config --local user.email 'github-actions[bot]@users.noreply.github.com'
git add ./bin/exeVersionFile
git add ./bin/catw.exe
git diff --quiet && git diff --staged --quiet || git commit -m "🤖Compiled Binary."
git push origin HEAD:main
git commit -m "🤖Compiled Binary."
git push origin HEAD:main
continue-on-error: true
5 changes: 3 additions & 2 deletions .github/workflows/social_preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@ jobs:
git config --local user.name 'github-actions[bot]'
git config --local user.email 'github-actions[bot]@users.noreply.github.com'
git add ./img/socialPreview.png
git diff --quiet && git diff --staged --quiet || git commit -m "🤖Generated Social Preview."
git push origin HEAD:main
git commit -m "🤖Generated Social Preview."
git push origin HEAD:main
continue-on-error: true

0 comments on commit 0c8594b

Please sign in to comment.