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

21 lines
476 B
YAML
Raw Normal View History

2021-06-21 08:44:40 +10:00
name: Publish agb
2021-06-21 07:58:54 +10:00
on:
push:
tags:
- v*
jobs:
build:
runs-on: ubuntu-20.04
steps:
2021-06-21 08:59:16 +10:00
- name: Install build tools
run: sudo apt-get update && sudo apt-get install build-essential binutils-arm-none-eabi -y
2021-06-21 07:58:54 +10:00
- name: Check out repository
uses: actions/checkout@v2
- name: Login to crates.io
run: cargo login ${{ secrets.CRATE_API }}
- name: Publish agb
run: cargo publish
working-directory: ./agb