Update test-pipeline.yml

This commit is contained in:
Felix Weiß
2023-06-18 21:37:43 +02:00
committed by GitHub
parent e3b6fdf780
commit caa138c130

View File

@@ -79,3 +79,19 @@ jobs:
key: ${{ inputs.cache-id }}
path: |
${{ github.workspace }}/MewtocolTests/TestResults
- name: Commit badge
continue-on-error: true
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add "./MewtocolTests/TestResults/badge_combined.svg"
git commit -m "Add/Update badge"
- name: Push badge commit
uses: ad-m/github-push-action@master
if: ${{ success() }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: badges