Skip to content

Commit 32f4203

Browse files
committed
build: fix upload condition
Don't try to upload if it's not the main linux-nvme/nvme-cli repo. Fix the condition. Signed-off-by: Daniel Wagner <[email protected]>
1 parent 448ed81 commit 32f4203

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/upload.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
name: upload test binary
4949
runs-on: ubuntu-latest
5050
needs: build-static
51-
if: ${{ github.event_name == 'push' || github.event_name == 'release' && github.repository == 'linux-nvme/nvme-cli' }}
51+
if: ${{ (github.event_name == 'push' || github.event_name == 'release') && github.repository == 'linux-nvme/nvme-cli' }}
5252
steps:
5353
- uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
5454
with:

0 commit comments

Comments
 (0)