diff --git a/.github/workflows/publish-sound-converter.yml b/.github/workflows/publish-sound-converter.yml new file mode 100644 index 00000000..6ac465fa --- /dev/null +++ b/.github/workflows/publish-sound-converter.yml @@ -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 \ No newline at end of file diff --git a/release.sh b/release.sh index 7ff20ea3..fdb1af29 100755 --- a/release.sh +++ b/release.sh @@ -35,6 +35,10 @@ case "$PROJECT" in DIRECTORY="agb-image-converter" TAGNAME="agb-image-converter/v$VERSION" ;; + agb-sound-converter) + DIRECTORY="agb-sound-converter" + TAGNAME="agb-sound-converter/v$VERSION" + ;; agb-macros) DIRECTORY="agb-macros" TAGNAME="agb-macros/v$VERSION"