mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 08:41:34 +11:00
Add release script and workflow for sound converter
This commit is contained in:
parent
626e00bb56
commit
ed5dbb5c0c
20
.github/workflows/publish-sound-converter.yml
vendored
Normal file
20
.github/workflows/publish-sound-converter.yml
vendored
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
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
|
|
@ -35,6 +35,10 @@ case "$PROJECT" in
|
||||||
DIRECTORY="agb-image-converter"
|
DIRECTORY="agb-image-converter"
|
||||||
TAGNAME="agb-image-converter/v$VERSION"
|
TAGNAME="agb-image-converter/v$VERSION"
|
||||||
;;
|
;;
|
||||||
|
agb-sound-converter)
|
||||||
|
DIRECTORY="agb-sound-converter"
|
||||||
|
TAGNAME="agb-sound-converter/v$VERSION"
|
||||||
|
;;
|
||||||
agb-macros)
|
agb-macros)
|
||||||
DIRECTORY="agb-macros"
|
DIRECTORY="agb-macros"
|
||||||
TAGNAME="agb-macros/v$VERSION"
|
TAGNAME="agb-macros/v$VERSION"
|
||||||
|
|
Loading…
Reference in a new issue