Skip to content

added rosbot 3

added rosbot 3 #15

name: Build deb packages
on:
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Create output dir
run: mkdir output
- name: Build base docker
run: docker build -t husarion-motod-builder .
- name: Build deb package in docker
run: >
docker container run --rm
-e VERSION=${{ env.RELEASE_VERSION }}
-v ${{ github.workspace }}/output:/output
husarion-motod-builder
./build_platforms.py
- uses: ncipollo/release-action@v1
with:
artifacts: "output/*.deb"
artifactErrorsFailBuild: true
allowUpdates: true
tag: ${{ env.RELEASE_VERSION }}