mirror of
https://github.com/BrianPugh/gnwmanager.git
synced 2025-12-05 13:15:58 +01:00
33 lines
730 B
YAML
33 lines
730 B
YAML
name: Build package and push to PyPi
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
tags:
|
|
- "v*.*.*"
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: arm-none-eabi-gcc GNU Arm Embedded Toolchain
|
|
uses: carlosperate/arm-none-eabi-gcc-action@v1.7.1
|
|
|
|
- name: Build GNWManager App
|
|
run: |
|
|
make -j15
|
|
|
|
- name: Build and publish to pypi
|
|
uses: JRubics/poetry-publish@v1.16
|
|
with:
|
|
#pypi_token: ${{ secrets.PYPI_TOKEN }}
|
|
ignore_dev_requirements: "yes"
|
|
plugins: "poetry-dynamic-versioning"
|
|
|
|
- uses: actions/upload-artifact@v3
|
|
if: always()
|
|
with:
|
|
name: dist
|
|
path: dist/
|