-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: manual workflow for semantic ver
- Loading branch information
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Semantic Versioning | ||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
publish: | ||
# needs: [ ] Insert test workflows for C++ and python | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup ROS2 | ||
uses: ros-tooling/[email protected] | ||
with: | ||
required-ros-distributions: humble | ||
|
||
- name: Install dependencies | ||
run: | | ||
sudo apt update | ||
sudo apt install -r requirements.txt | ||
- name: Build ROS2 workspace | ||
run: colcon build | ||
|
||
- name: Semantic Release | ||
uses: cycjimmy/semantic-release-action@v2 | ||
with: | ||
extra_plugins: | | ||
@semantic-release/git | ||
@semantic-release/exec | ||
@semantic-release/changelog |