/ros_semantic_release_action

A github action which builds ros modules into debians

Primary LanguageShell

ROS Semantic Release action

Usage

Add a release.yml

name: Tag & Release

on:
  workflow_dispatch:

jobs:
  release:
    name: Release
    runs-on: ubuntu-latest
    container:
      image: ghcr.io/greenroom-robotics/ros_builder:latest
      options: --user root

    steps:
      - name: Checkout this repository
        uses: actions/checkout@v3

      - name: Semantic release
        uses: Greenroom-Robotics/ros_semantic_release_action@main
        with:
          token: ${{ secrets.API_TOKEN_GITHUB }}

Notes

Paths

When adding this to a repo, the action will mount into GITHUB_ACTION_PATH. This should be: /__w/_actions/Greenroom-Robotics/ros_semantic_release_action/main. The PWD should be the repo name you are running this action in. eg) /__w/<repo_name>/<repo_name>. We can't add GITHUB_ACTION_PATH to the @semantic-release/exec (without forking it) so we hardcode this action reference.