Skip to content

Commit

Permalink
test: なんかおかしい
Browse files Browse the repository at this point in the history
  • Loading branch information
mii288 committed Jan 18, 2025
1 parent 2b9367b commit bcf34a2
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/actions/screenshots/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ runs:
- uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}
clean: false
- name: Set cache key
id: cache
run: |
Expand All @@ -33,7 +32,7 @@ runs:
shell: bash
- name: Restore screenshots
id: vrt-screenshots
uses: actions/cache@v4
uses: actions/cache/restore@v4
with:
path: ${{ inputs.path }}
key: ${{ steps.cache.outputs.key }}
Expand All @@ -51,6 +50,12 @@ runs:
name: Take screenshots
run: npm run screenshot
shell: bash
- if: ${{ steps.vrt-screenshots.outputs.cache-hit != 'true' }}
name: Restore screenshots
uses: actions/cache/save@v4
with:
path: ${{ inputs.path }}
key: ${{ steps.cache.outputs.key }}
# ref: https://github.com/actions/checkout/issues/692#issuecomment-1112305878
- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit bcf34a2

Please sign in to comment.