Skip to content

Commit daf154f

Browse files
committed
fixes CI for creating releases
1 parent ede8359 commit daf154f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,8 @@ jobs:
192192
path: deploy
193193

194194
build-and-test-client:
195+
# do not execute this job if it is triggered by a release because this test needs the release assets that haven't been uploaded yet
196+
if: github.event_name != 'release' && github.event.action != 'created'
195197
needs: build-and-test-server
196198
strategy:
197199
# tests should not be stopped when they fail on one of the OSes:
@@ -362,7 +364,7 @@ jobs:
362364
set-release-artifacts:
363365
# this job adds the Gobra tools as release artifacts for manually created releases
364366
if: github.event_name == 'release' && github.event.action == 'created'
365-
needs: [create-gobra-tools, build-and-test-client]
367+
needs: create-gobra-tools
366368
runs-on: ubuntu-latest
367369
steps:
368370
- name: Download Gobra tools artifact

0 commit comments

Comments
 (0)