فهرست منبع

ci: only store cache vita reqs when restore-cache didn't find anything

Anonymous Maarten 2 سال پیش
والد
کامیت
e77132b8aa
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      .github/workflows/vita.yml

+ 1 - 0
.github/workflows/vita.yml

@@ -78,6 +78,7 @@ jobs:
         unzip /tmp/vitasdk_stubs.zip -d/vita/dependencies/lib
 
     - uses: actions/cache/save@v3
+      if: ${{ !steps.restore-cache.outputs.cache-hit }}
       with:
         path: /vita/dependencies
         key: ${{ matrix.platform.artifact }}-${{ matrix.platform.version }}