Jelajahi Sumber

fix regression in fork artifact upload in ghcr_runtime (#3807)

tobitege 1 tahun lalu
induk
melakukan
1c9b4ad78a
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      .github/workflows/ghcr_runtime.yml

+ 1 - 1
.github/workflows/ghcr_runtime.yml

@@ -98,7 +98,7 @@ jobs:
           outputs: type=docker,dest=/tmp/runtime-${{ matrix.base_image.tag }}.tar
           context: containers/runtime
       - name: Upload runtime image for fork
-        if: github.event.pull_request.head.repo.fork != true
+        if: github.event.pull_request.head.repo.fork
         uses: actions/upload-artifact@v4
         with:
           name: runtime-${{ matrix.base_image.tag }}