agb/.github/workflows/publish-agb-macros.yml
2021-10-04 20:34:04 +01:00

20 lines
507 B
YAML

name: Publish agb-macros
on:
push:
tags:
- agb-macros/v*
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 agb-macros
run: cargo publish
working-directory: ./agb-macros