Skip to content

Commit 971dd22

Browse files
committed
test: なんかおかしい
1 parent 2b9367b commit 971dd22

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/actions/screenshots/action.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,12 @@ runs:
3333
shell: bash
3434
- name: Restore screenshots
3535
id: vrt-screenshots
36-
uses: actions/cache@v4
36+
uses: actions/cache/restore@v4
3737
with:
3838
path: ${{ inputs.path }}
3939
key: ${{ steps.cache.outputs.key }}
40+
- run: (ls .reg/screenshots/Home >> /dev/null 2>&1 && ls .reg/screenshots/Home) || echo "file no exists"
41+
shell: bash
4042
- if: ${{ steps.vrt-screenshots.outputs.cache-hit != 'true' }}
4143
name: Install Japanese fonts
4244
run: |
@@ -51,6 +53,12 @@ runs:
5153
name: Take screenshots
5254
run: npm run screenshot
5355
shell: bash
56+
- if: ${{ steps.vrt-screenshots.outputs.cache-hit != 'true' }}
57+
name: Restore screenshots
58+
uses: actions/cache/save@v4
59+
with:
60+
path: ${{ inputs.path }}
61+
key: ${{ steps.cache.outputs.key }}
5462
# ref: https://github.com/actions/checkout/issues/692#issuecomment-1112305878
5563
- uses: actions/checkout@v4
5664
with:

0 commit comments

Comments
 (0)