Replace all the crate builds with a single 'publish subcrate'

This commit is contained in:
Gwilym Kuiper 2022-01-12 22:47:59 +00:00
parent da1fea86fe
commit 71e2e64c48
4 changed files with 4 additions and 65 deletions

View file

@ -1,20 +0,0 @@
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

View file

@ -1,20 +0,0 @@
name: Publish agb-image-converter
on:
push:
tags:
- agb-image-converter/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-image-converter
run: cargo publish
working-directory: ./agb-image-converter

View file

@ -1,20 +0,0 @@
name: Publish agb-sound-converter
on:
push:
tags:
- agb-sound-converter/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-sound-converter
run: cargo publish
working-directory: ./agb-sound-converter

View file

@ -1,9 +1,9 @@
name: Publish agb-fixnum
name: Publish sub crate
on:
push:
tags:
- agb-fixnum/v*
- */v*
jobs:
build:
@ -15,6 +15,5 @@ jobs:
uses: actions/checkout@v2
- name: Login to crates.io
run: cargo login ${{ secrets.CRATE_API }}
- name: Publish agb-fixnum
run: cargo publish
working-directory: ./agb-fixnum
- name: Publish crate
run: bash .github/scripts/publish-crate.sh