Skip to content

Tag & Release

Tag & Release #14

Workflow file for this run

name: Tag & Release
on:
workflow_dispatch:
inputs:
package:
type: choice
description: 'Package to release'
options:
- ""
- septentrio_gnss_driver
architecture:
type: choice
description: 'Architecture'
options:
- ""
- amd64
- arm64
force_release:
type: boolean
description: 'Force release'
jobs:
release:
strategy:
fail-fast: true
matrix:
job:
- runner: buildjet-2vcpu-ubuntu-2204
arch: amd64
ros_distro: iron
github_release: true
- runner: buildjet-4vcpu-ubuntu-2204-arm
arch: arm64
ros_distro: iron
github_release: false
- runner: buildjet-2vcpu-ubuntu-2204
arch: amd64
ros_distro: jazzy
github_release: false
- runner: buildjet-4vcpu-ubuntu-2204-arm
arch: arm64
ros_distro: jazzy
github_release: false
name: Release - ${{ matrix.job.arch }} - ${{ matrix.job.ros_distro }}
runs-on: ${{ matrix.job.runner }}
steps:
- name: Checkout this repository
uses: actions/checkout@v3
if: ${{ github.event.inputs.architecture == matrix.job.arch || github.event.inputs.architecture == '' }}
- name: Semantic release
uses: Greenroom-Robotics/ros_semantic_release_action@main
if: ${{ github.event.inputs.architecture == matrix.job.arch || github.event.inputs.architecture == '' }}
with:
token: ${{ secrets.API_TOKEN_GITHUB }}
package: ${{ github.event.inputs.package }}
arch: ${{ matrix.job.arch }}
ros_distro: ${{ matrix.job.ros_distro }}
github_release: ${{ matrix.job.github_release || github.event.inputs.force_release && matrix.job.distro == 'jazzy' }}
public: true
changelog: false