diff --git a/.github/workflows/publish-agb-macros.yml b/.github/workflows/publish-agb-macros.yml deleted file mode 100644 index 53783780..00000000 --- a/.github/workflows/publish-agb-macros.yml +++ /dev/null @@ -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 \ No newline at end of file diff --git a/.github/workflows/publish-image-converter.yml b/.github/workflows/publish-image-converter.yml deleted file mode 100644 index 8dfb3844..00000000 --- a/.github/workflows/publish-image-converter.yml +++ /dev/null @@ -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 \ No newline at end of file diff --git a/.github/workflows/publish-sound-converter.yml b/.github/workflows/publish-sound-converter.yml deleted file mode 100644 index 6ac465fa..00000000 --- a/.github/workflows/publish-sound-converter.yml +++ /dev/null @@ -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 \ No newline at end of file diff --git a/.github/workflows/publish-agb-fixnum.yml b/.github/workflows/publish-sub-crate.yml similarity index 71% rename from .github/workflows/publish-agb-fixnum.yml rename to .github/workflows/publish-sub-crate.yml index 3ff76916..04103352 100644 --- a/.github/workflows/publish-agb-fixnum.yml +++ b/.github/workflows/publish-sub-crate.yml @@ -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 \ No newline at end of file + - name: Publish crate + run: bash .github/scripts/publish-crate.sh