Skip to content

Commit 3ee84ab

Browse files
authored
ci: fix release workflow
1 parent 1cf6a93 commit 3ee84ab

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.semaphore/semaphore.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ global_job_config:
2626

2727
blocks:
2828
- name: Build
29-
skip:
30-
when: "branch = 'gh-pages'"
29+
run:
30+
when: "branch =~ '.*' OR pull_request =~'.*'"
3131
task:
3232
jobs:
3333
- name: Cache Go dependencies
@@ -45,8 +45,8 @@ blocks:
4545
- cache store traefik-mesh-img-$SEMAPHORE_GIT_BRANCH-$SEMAPHORE_WORKFLOW_ID traefik-mesh-img.tar
4646

4747
- name: Unit Tests
48-
skip:
49-
when: "branch = 'gh-pages'"
48+
run:
49+
when: "branch =~ '.*' OR pull_request =~'.*'"
5050
task:
5151
prologue:
5252
commands:
@@ -57,8 +57,8 @@ blocks:
5757
- make local-test
5858

5959
- name: Integration Tests
60-
skip:
61-
when: "branch = 'gh-pages'"
60+
run:
61+
when: "branch =~ '.*' OR pull_request =~'.*'"
6262
task:
6363
prologue:
6464
commands:
@@ -89,7 +89,7 @@ blocks:
8989

9090
env_vars:
9191
- name: SEIHON_VERSION
92-
value: 0.8.3
92+
value: v0.8.3
9393

9494
jobs:
9595
- name: Release

0 commit comments

Comments
 (0)