forked from KalanaRatnayake/libaria
-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (46 loc) · 1.28 KB
/
release.yaml
File metadata and controls
48 lines (46 loc) · 1.28 KB
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
name: Build
on:
release:
types: [published]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-18.04
python-version: 2.7
ros-distro: melodic
- os: ubuntu-20.04
python-version: 3.8
ros-distro: noetic
steps:
- uses: actions/checkout@v2
with:
path: package
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install ROS
uses: suddrey-qut/setup-ros@master
with:
required-ros-distributions: ${{ matrix.ros-distro }}
- name: Build Release
uses: suddrey-qut/release-tools-ros@master
id: build
with:
ros-distro: ${{ matrix.ros-distro }}
- name: Upload binaries to release
uses: suddrey-qut/upload-release-action@master
id: upload
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
files: ${{ steps.build.outputs.files }}
tag: ${{ github.ref }}
- name : Notify QCR
uses: suddrey-qut/invoke-qcr-hook@master
with:
ref: ${{ github.ref }}
repo: ${{ github.repository }}
files: ${{ steps.upload.outputs.browser_download_urls }}