Skip to content

Commit

Permalink
feat: fadd-ci
Browse files Browse the repository at this point in the history
chore: add ci
  • Loading branch information
MrBlenny authored Dec 5, 2024
2 parents bcc9ff9 + dda4cf4 commit a1999b9
Showing 1 changed file with 73 additions and 0 deletions.
73 changes: 73 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
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_dir: packages
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_dir: packages
package: ${{ github.event.inputs.package }}
github_release: true
public: true
changelog: false
skip_build: true
skip_tag: false

0 comments on commit a1999b9

Please sign in to comment.