agb/.github/workflows/publish-sub-crate.yml

20 lines
479 B
YAML
Raw Normal View History

name: Publish sub crate
2022-01-13 09:06:19 +11:00
on:
push:
tags:
- "*/v*"
2022-01-13 09:06:19 +11:00
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Install build tools
run: sudo apt-get update && sudo apt-get install build-essential binutils-arm-none-eabi -y
- name: Check out repository
uses: actions/checkout@v2
- name: Login to crates.io
run: cargo login ${{ secrets.CRATE_API }}
- name: Publish crate
run: bash .github/scripts/publish-crate.sh