File tree Expand file tree Collapse file tree 3 files changed +22
-14
lines changed Expand file tree Collapse file tree 3 files changed +22
-14
lines changed Original file line number Diff line number Diff line change 44 branches :
55 - master
66jobs :
7- package :
8- runs-on : ubuntu-16.04
7+ build :
8+ runs-on : ${{ matrix.os }}
9+ strategy :
10+ matrix :
11+ os : [ubuntu-18.04, self-hosted]
12+ fail-fast : true
913 steps :
1014 - 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}}
1615 - name : Package
1716 id : package
18- uses : AutoModality/action-package-debian-ros@v1.1.1
17+ uses : AutoModality/action-package-debian-ros@v1.3.0
1918 with :
2019 branch : ${{ github.event.pull_request.head.ref }}
2120 pull-request-number : ${{ github.event.number }}
22- build-number : ${{ steps.buildnumber.outputs.build_number }}
21+ build-number : ${{ github.run_number }}
2322 - name : The generated package
2423 run : echo "The artifact is ${{ steps.package.outputs.artifact-path }}"
2524 - name : Deploy
Original file line number Diff line number Diff line change 44 branches :
55 - master
66jobs :
7- package :
8- runs-on : ubuntu-16.04
7+ build :
8+ runs-on : ${{ matrix.os }}
9+ strategy :
10+ matrix :
11+ os : [ubuntu-18.04, self-hosted]
12+ fail-fast : true
913 steps :
1014 - uses : actions/checkout@v1
1115 - name : Semantic Release
2024 - name : Package
2125 if : steps.semantic.outputs.new_release_published == 'true'
2226 id : package
23- uses : AutoModality/action-package-debian-ros@v1.2.1
27+ uses : AutoModality/action-package-debian-ros@v1.3.0
2428 with :
2529 version : ${{ steps.semantic.outputs.new_release_version }}
2630 - name : The generated package
Original file line number Diff line number Diff line change 66 - master
77jobs :
88 build :
9- runs-on : ubuntu-16.04
9+ runs-on : ${{ matrix.os }}
10+ strategy :
11+ matrix :
12+ os : [ubuntu-18.04, self-hosted]
13+ fail-fast : true
1014 steps :
1115 - uses : actions/checkout@v1
1216 - name : Package
13- uses : AutoModality/action-package-debian-ros@v1.1.1
17+ uses : AutoModality/action-package-debian-ros@v1.3.0
18+
1419
1520
You can’t perform that action at this time.
0 commit comments