We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28827c6 commit f94636eCopy full SHA for f94636e
.github/workflows/legacy.yml
@@ -1,11 +1,17 @@
1
name: Legacy Build
2
3
on:
4
+ workflow_dispatch: ~
5
+
6
push:
- branches: [ legacy ]
7
+ branches:
8
+ - legacy
9
+ tags:
10
+ - 1.**
11
12
pull_request:
13
14
15
16
jobs:
17
build:
@@ -40,6 +46,7 @@ jobs:
40
46
run: composer run-script test
41
47
42
48
release:
49
+ if: startsWith(github.ref, 'refs/tags/1')
43
50
runs-on: ubuntu-latest
44
51
needs: [build]
45
52
steps:
@@ -54,7 +61,6 @@ jobs:
54
61
55
62
- name: Release
56
63
uses: softprops/action-gh-release@v1
57
- if: startsWith(github.ref, 'refs/tags/')
58
64
with:
59
65
generate_release_notes: true
60
66
files: gitlist-${{ github.ref_name }}.zip
0 commit comments