2021-08-16 05:40:48 +10:00
|
|
|
name: Publish agb-macros
|
2021-08-08 01:43:50 +10:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
tags:
|
2021-08-16 05:40:48 +10:00
|
|
|
- agb-macros/v*
|
2021-08-08 01:43:50 +10: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 }}
|
2021-08-16 05:40:48 +10:00
|
|
|
- name: Publish agb-macros
|
2021-08-08 01:43:50 +10:00
|
|
|
run: cargo publish
|
2021-08-16 05:40:48 +10:00
|
|
|
working-directory: ./agb-macros
|