From 7e96e1bcf1f898580595ca07b003763e7b30136c Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Mon, 3 Jul 2023 12:36:12 +0200 Subject: [PATCH] .github: possible fix of Bob's upload Use same if: syntax for release/upload job as for build job. Only thing the upload job needs to ensure is that it does not try to upload built artifacts from forks or from non-main builds. Signed-off-by: Joachim Wiberg --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d17d47ab1..76d90dc75 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -72,7 +72,7 @@ jobs: with: path: output/${{ steps.vars.outputs.tgz }} release: - if: github.repository == 'kernelkit/infix' && github.ref == 'refs/heads/main' + if: ${{github.repository == 'kernelkit/infix' && github.ref == 'refs/heads/main'}} name: Upload Latest Build needs: build runs-on: ubuntu-latest