forked from foxglove/ros-foxglove-bridge
-
Notifications
You must be signed in to change notification settings - Fork 0
71 lines (63 loc) · 1.84 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
name: Tag & Release
on:
workflow_dispatch:
inputs:
package:
type: choice
description: 'If not specified, all packages will be released.'
options:
- ""
- foxglove_bridge
jobs:
build:
strategy:
fail-fast: true
matrix:
job:
- runner: buildjet-2vcpu-ubuntu-2204
arch: amd64
ros_distro: iron
- runner: buildjet-2vcpu-ubuntu-2204-arm
arch: arm64
ros_distro: iron
- runner: buildjet-2vcpu-ubuntu-2204
arch: amd64
ros_distro: jazzy
- runner: buildjet-2vcpu-ubuntu-2204-arm
arch: arm64
ros_distro: jazzy
name: Build - ${{ matrix.job.arch }} - ${{ matrix.job.ros_distro }}
runs-on: ${{ matrix.job.runner }}
steps:
- name: Checkout this repository
uses: actions/checkout@v4
- name: Semantic release - Build
uses: Greenroom-Robotics/ros_semantic_release_action@main
with:
token: ${{ secrets.API_TOKEN_GITHUB }}
package: ${{ github.event.inputs.package }}
arch: ${{ matrix.job.arch }}
ros_distro: ${{ matrix.job.ros_distro }}
github_release: false
public: true
changelog: false
skip_build: false
skip_tag: true
release:
name: Create Release
runs-on: buildjet-2vcpu-ubuntu-2204
needs:
- build
steps:
- name: Checkout this repository
uses: actions/checkout@v4
- name: Release
uses: Greenroom-Robotics/ros_semantic_release_action@main
with:
token: ${{ secrets.API_TOKEN_GITHUB }}
package: ${{ github.event.inputs.package }}
github_release: true
public: true
changelog: false
skip_build: true
skip_tag: false