Update test-pipeline.yml

This commit is contained in:
Felix Weiß
2023-06-18 21:48:09 +02:00
committed by GitHub
parent caa138c130
commit b72771c13e

View File

@@ -67,10 +67,10 @@ jobs:
env: env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- uses: actions/upload-artifact@v3 #- uses: actions/upload-artifact@v3
with: # with:
name: test-results # name: test-results
path: ./MewtocolTests/TestResults/ # path: ./MewtocolTests/TestResults/
- name: Cache test results - name: Cache test results
if: ${{ github.event_name == 'workflow_call' }} if: ${{ github.event_name == 'workflow_call' }}
@@ -83,9 +83,10 @@ jobs:
- name: Commit badge - name: Commit badge
continue-on-error: true continue-on-error: true
run: | run: |
git checkout badges
git config --local user.email "action@github.com" git config --local user.email "action@github.com"
git config --local user.name "GitHub Action" git config --local user.name "GitHub Action"
git add "./MewtocolTests/TestResults/badge_combined.svg" git add "./MewtocolTests/TestResults/badge_combined.svg" -f
git commit -m "Add/Update badge" git commit -m "Add/Update badge"
- name: Push badge commit - name: Push badge commit