Skip to content

Commit

Permalink
.github: possible fix of Bob's upload
Browse files Browse the repository at this point in the history
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 <troglobit@gmail.com>
  • Loading branch information
troglobit committed Jul 3, 2023
1 parent 1f74024 commit 7e96e1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7e96e1b

Please sign in to comment.