From a131d4a80b907e06550860bae7fcf45214fdd6aa Mon Sep 17 00:00:00 2001 From: Alan O'Callaghan Date: Fri, 15 Nov 2024 16:07:38 +0000 Subject: [PATCH] Better step names --- .github/workflows/tests.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 17d3c6f..948eaf5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -43,20 +43,20 @@ jobs: genbadge tests -i reports/junit/junit.xml - - name: Upload badges and reports to github actions + - name: Make badge dir if: github.ref_name == 'main' && matrix.os == 'ubuntu-latest' run: | mkdir -p badges mv *badge.svg badges - - name: Setup Temporary Directory + - name: Setup assets dir if: github.ref_name == 'main' && matrix.os == 'ubuntu-latest' run: | mkdir assets mv badges assets/ mv reports assets/ - - name: Clone Target Repository + - name: Clone badges repo if: github.ref_name == 'main' && matrix.os == 'ubuntu-latest' run: | git clone --branch=gh-pages https://${{ secrets.TARGET_REPO_ACCESS_TOKEN }}@github.com/qupath/badges.git badges @@ -65,7 +65,7 @@ jobs: mkdir -p badges/${{ github.event.repository.name }} mv assets/* badges/${{github.event.repository.name}}/ - - name: Deploy to gh-pages + - name: Deploy badges to gh-pages if: github.ref_name == 'main' && matrix.os == 'ubuntu-latest' run: | cd badges