Просмотр исходного кода

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

tobitege 1 год назад
Родитель
Сommit
1c9b4ad78a
1 измененных файлов с 1 добавлено и 1 удалено
  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
           outputs: type=docker,dest=/tmp/runtime-${{ matrix.base_image.tag }}.tar
           context: containers/runtime
           context: containers/runtime
       - name: Upload runtime image for fork
       - 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
         uses: actions/upload-artifact@v4
         with:
         with:
           name: runtime-${{ matrix.base_image.tag }}
           name: runtime-${{ matrix.base_image.tag }}