Skip to content

Commit 41e6e83

Browse files
authored
Run CI on tag push (#577)
* Run CI on tag push * ensure that tags aren't skipped
1 parent 36e370f commit 41e6e83

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,14 @@ concurrency:
55
cancel-in-progress: true
66

77
on:
8-
create:
9-
tags:
108
push:
119
branches:
1210
- master
1311
paths-ignore:
1412
- 'LICENSE'
1513
- 'README.md'
1614
- '.github/workflows/TagBot.yml'
15+
tags: '*'
1716
pull_request:
1817
paths-ignore:
1918
- 'LICENSE'
@@ -32,7 +31,7 @@ jobs:
3231

3332
test:
3433
needs: pre_job
35-
if: needs.pre_job.outputs.should_skip != 'true'
34+
if: ${{ !cancelled() }} && (github.ref_type == 'tag' || needs.pre_job.outputs.should_skip != 'true')
3635
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
3736
runs-on: ${{ matrix.os }}
3837
strategy:

.github/workflows/downstream.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: IntegrationTest
22
on:
33
push:
4-
branches: [master]
5-
tags: [v*]
4+
branches:
5+
- master
6+
tags: '*'
67
pull_request:
78
paths-ignore:
89
- 'LICENSE'
@@ -25,7 +26,7 @@ jobs:
2526
uses: fkirc/skip-duplicate-actions@v5
2627
test:
2728
needs: pre_job
28-
if: needs.pre_job.outputs.should_skip != 'true'
29+
if: ${{ !cancelled() }} && (github.ref_type == 'tag' || needs.pre_job.outputs.should_skip != 'true')
2930
name: ${{ matrix.package.group }}/${{ matrix.package.repo }}/${{ matrix.julia-version }}
3031
runs-on: ${{ matrix.os }}
3132
strategy:

0 commit comments

Comments
 (0)