-
Notifications
You must be signed in to change notification settings - Fork 4
61 lines (56 loc) · 1.76 KB
/
zowe-cli-bundle-all.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: Zowe CLI Bundle All
on:
pull_request:
paths-ignore:
- '.github/workflows/zowe-cli-deploy-*.yaml'
- 'scripts/deploy-*.js'
schedule:
- cron: '0 0 * * *'
jobs:
build-v1-lts:
if: ${{ github.event_name != 'pull_request' || startsWith(github.head_ref, 'v1') }}
uses: ./.github/workflows/zowe-cli-bundle.yaml
permissions:
id-token: write
pull-requests: write
secrets:
JF_ARTIFACTORY_TOKEN: ${{ secrets.JF_ARTIFACTORY_TOKEN }}
with:
dry-run: ${{ github.event_name != 'schedule' }}
package-tag: zowe-v1-lts
release-type: snapshot
build-v2-lts:
if: ${{ github.event_name != 'pull_request' || startsWith(github.head_ref, 'v2') }}
uses: ./.github/workflows/zowe-cli-bundle.yaml
permissions:
id-token: write
pull-requests: write
secrets:
JF_ARTIFACTORY_TOKEN: ${{ secrets.JF_ARTIFACTORY_TOKEN }}
with:
dry-run: ${{ github.event_name != 'schedule' }}
package-tag: zowe-v2-lts
release-type: snapshot
build-v3-lts:
if: ${{ github.event_name != 'pull_request' || startsWith(github.head_ref, 'v3') }}
uses: ./.github/workflows/zowe-cli-bundle.yaml
permissions:
id-token: write
pull-requests: write
secrets:
JF_ARTIFACTORY_TOKEN: ${{ secrets.JF_ARTIFACTORY_TOKEN }}
with:
dry-run: ${{ github.event_name != 'schedule' }}
package-tag: zowe-v3-lts
release-type: snapshot
# build-next:
# uses: ./.github/workflows/zowe-cli-bundle.yaml
# permissions:
# id-token: write
# pull-requests: write
# secrets:
# JF_ARTIFACTORY_TOKEN: ${{ secrets.JF_ARTIFACTORY_TOKEN }}
# with:
# dry-run: ${{ github.event_name != 'schedule' }}
# package-tag: next
# release-type: snapshot