Skip to content

Commit 0f48988

Browse files
committed
build: fix syntax error in upload workflow
Yaml is hard. Signed-off-by: Daniel Wagner <[email protected]>
1 parent f9cd5c7 commit 0f48988

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/upload.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
name: upload
1+
---
2+
name: Upload
23

34
on:
45
push:
@@ -47,7 +48,7 @@ jobs:
4748
name: upload test binary
4849
runs-on: ubuntu-latest
4950
needs: build-static
50-
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' }}
5152
steps:
5253
- uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
5354
with:
@@ -74,7 +75,7 @@ jobs:
7475
needs: build-static
7576
env:
7677
VERSION: ${{ needs.build-static.outputs.VERSION }}
77-
if: ${{ github.event_name == 'release' }} && github.repository == 'linux-nvme/nvme-cli'
78+
if: ${{ github.event_name == 'release' && github.repository == 'linux-nvme/nvme-cli' }}
7879
steps:
7980
- uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
8081
with:

0 commit comments

Comments
 (0)