mirror of
https://github.com/OpenLogics/MewtocolNet.git
synced 2025-12-06 03:01:24 +00:00
Update test-pipeline.yml
This commit is contained in:
16
.github/workflows/test-pipeline.yml
vendored
16
.github/workflows/test-pipeline.yml
vendored
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user