From cf33fae9169555412bc25ee29380552a220f26d4 Mon Sep 17 00:00:00 2001 From: kosenda Date: Sun, 10 Mar 2024 16:32:47 +0900 Subject: [PATCH] fix: name --- .github/workflows/SaveScreenshot.yml | 2 +- .github/workflows/Test.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/SaveScreenshot.yml b/.github/workflows/SaveScreenshot.yml index 4fde0ce3..f059b2c3 100644 --- a/.github/workflows/SaveScreenshot.yml +++ b/.github/workflows/SaveScreenshot.yml @@ -24,7 +24,7 @@ jobs: run: ./gradlew recordRoborazziProdDebug --stacktrace - name: Save SAVE_NAME - run: echo "SAVE_NAME=$( echo ${{ github.head_ref }} | sed "s/\//-/g" )" >> $GITHUB_ENV + run: echo "SAVE_NAME=$( echo screenshot-${{ github.head_ref }} | sed "s/\//-/g" )" >> $GITHUB_ENV - name: Save screenshots uses: actions/upload-artifact@v4 diff --git a/.github/workflows/Test.yml b/.github/workflows/Test.yml index 64a90e4a..a16de1e0 100644 --- a/.github/workflows/Test.yml +++ b/.github/workflows/Test.yml @@ -95,7 +95,7 @@ jobs: api-key: ${{ secrets.API_KEY }} - name: Save DOWNLOAD_NAME - run: echo "DOWNLOAD_NAME=$( echo ${{ github.base_ref }} | sed "s/\//-/g" )" >> $GITHUB_ENV + run: echo "DOWNLOAD_NAME=$( echo screenshot_${{ github.base_ref }} | sed "s/\//-/g" )" >> $GITHUB_ENV - name: Download screenshots from base branch continue-on-error: true