Skip to content

mission_raw: add planned home position #638

mission_raw: add planned home position

mission_raw: add planned home position #638

Workflow file for this run

name: prototool
on:
push:
branches:
- 'main'
tags:
- '*'
pull_request:
branches:
- '*'
jobs:
prototool:
name: prototool linter
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- name: Run prototool
run: docker run -v "$(pwd):/work" uber/prototool:1.9.0 prototool lint protos
deploy:
name: deploy
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- name: Install prerequisites
run: pip install --user auditwheel twine
- name: Create wheel
working-directory: ./pb_plugins
run: python setup.py bdist_wheel
- name: Upload as CI artefact
uses: actions/upload-artifact@v2
with:
name: protoc-gen-mavsdk.whl
path: ./pb_plugins/dist/*.whl
retention-days: 2
- name: Deploy to PyPi
env:
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
TWINE_NON_INTERACTIVE: 1
if: startsWith(github.ref, 'refs/tags/')
run: |
export PATH=$PATH:$HOME/.local/bin
twine upload ./pb_plugins/dist/*.whl