File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Release Candidate
2+ on :
3+ pull_request :
4+ branches :
5+ - master
6+ jobs :
7+ package :
8+ runs-on : ubuntu-16.04
9+ steps :
10+ - uses : actions/checkout@v1
11+ - name : Generate build number
12+ id : buildnumber
13+ uses : einaregilsson/build-number@v2
14+ with :
15+ token : ${{secrets.github_token}}
16+ - name : Package
17+ id : package
18+ uses : AutoModality/action-package-debian-ros@v1.1.0
19+ with :
20+ branch : ${{ github.event.pull_request.head.ref }}
21+ pull-request-number : ${{ github.event.number }}
22+ build-number : ${{ steps.buildnumber.outputs.build_number }}
23+ - name : The generated package
24+ run : echo "The artifact is ${{ steps.package.outputs.artifact-path }}"
25+ - name : Deploy
26+ id : deploy
27+ uses : AutoModality/action-cloudsmith@0.2.0
28+ with :
29+ api-key : ${{ secrets.CLOUDSMITH_API_KEY }}
30+ command : ' push'
31+ format : ' deb'
32+ owner : ' automodality'
33+ repo : ' dev'
34+ distro : ' ubuntu'
35+ release : ' xenial'
36+ file : ' ${{ steps.package.outputs.artifact-path }}'
Original file line number Diff line number Diff line change 1+ name : Release
2+ on :
3+ push :
4+ branches :
5+ - master
6+ jobs :
7+ package :
8+ runs-on : ubuntu-16.04
9+ steps :
10+ - uses : actions/checkout@v1
11+ - name : Semantic Release
12+ uses : cycjimmy/semantic-release-action@v2
13+ id : semantic # `id` for output variables
14+ with :
15+ semantic_version : 15.14.0
16+ extra_plugins : |
17+ @semantic-release/git
18+ @semantic-release/changelog@3.0.0
19+ env :
20+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
21+ - name : Package
22+ if : steps.semantic.outputs.new_release_published == 'true'
23+ id : package
24+ uses : AutoModality/action-package-debian-ros@v1.1.0
25+ with :
26+ version : ${{ steps.semantic.outputs.new_release_version }}
27+ - name : The generated package
28+ run : echo "The artifact is ${{ steps.package.outputs.artifact-path }}"
29+ - name : Deploy
30+ if : steps.semantic.outputs.new_release_published == 'true'
31+ id : deploy
32+ uses : AutoModality/action-cloudsmith@0.2.0
33+ with :
34+ api-key : ${{ secrets.CLOUDSMITH_API_KEY }}
35+ command : ' push'
36+ format : ' deb'
37+ owner : ' automodality'
38+ repo : ' release'
39+ distro : ' ubuntu'
40+ release : ' xenial'
41+ file : ' ${{ steps.package.outputs.artifact-path }}'
Original file line number Diff line number Diff line change @@ -2,10 +2,8 @@ name: Story Development
22
33on :
44 push :
5- branches :
6- - ' [A-Z]+-[0-9]+'
7- - ' [A-Z]+-[0-9]+/*'
8- - ' feature/*'
5+ branches-ignore :
6+ - master
97jobs :
108 build :
119 runs-on : ubuntu-16.04
You can’t perform that action at this time.
0 commit comments