Skip to content

Commit ba5c305

Browse files
committed
Fix merge conflict
1 parent 99d317d commit ba5c305

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ jobs:
119119

120120
release:
121121
needs: build_and_test
122+
if: github.ref_type == 'tag'
122123
runs-on: ubuntu-22.04
123124
permissions:
124125
contents: write
@@ -150,8 +151,6 @@ jobs:
150151
run: zip -r cmake_configurations.zip cmake_configurations
151152

152153
- name: Create release
153-
# TODO: lift this guard to release job level
154-
if: github.ref_type == 'tag'
155154
shell: bash
156155
env:
157156
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)