-
Notifications
You must be signed in to change notification settings - Fork 11
38 lines (35 loc) · 1.18 KB
/
release.yml
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
name: Build on create a release
on:
release:
types: [created]
jobs:
build_1_6:
name: Build tagged version for 1.6.x
runs-on: ubuntu-latest
if: startsWith(github.event.release.tag_name, '1.6')
steps:
- name: Release
uses: Atlas-Authority/atlassian-marketplace-release-action/release@main
with:
branch: release/1.6.x
jdkVersion: 11
githubUserName: DevOps
githubUserEmail: devops@atlasauthority.com
githubToken: ${{ secrets.GHA_ADMIN }}
marketplaceUser: devops@atlasauthority.com
marketplaceToken: ${{ secrets.MARKETPLACE_TOKEN }}
build_2_x:
name: Build tagged version for 2.x
runs-on: ubuntu-latest
if: startsWith(github.event.release.tag_name, '2.')
steps:
- name: Release
uses: Atlas-Authority/atlassian-marketplace-release-action/release@main
with:
branch: main
jdkVersion: 17
githubUserName: DevOps
githubUserEmail: devops@atlasauthority.com
githubToken: ${{ secrets.GHA_ADMIN }}
marketplaceUser: devops@atlasauthority.com
marketplaceToken: ${{ secrets.MARKETPLACE_TOKEN }}