diff --git a/.github/workflows/publish-agb.yml b/.github/workflows/publish-agb.yml index 248a7220..9697eb7e 100644 --- a/.github/workflows/publish-agb.yml +++ b/.github/workflows/publish-agb.yml @@ -18,9 +18,9 @@ jobs: fetch-depth: 0 - name: Login to crates.io run: cargo login ${{ secrets.CRATE_API }} - - name: Publish agb - run: cargo publish - working-directory: ./agb + + - name: Publish crates + run: bash .github/scripts/publish-crate.sh - name: Update template repo env: diff --git a/.github/workflows/publish-sub-crate.yml b/.github/workflows/publish-sub-crate.yml deleted file mode 100644 index d839bb5c..00000000 --- a/.github/workflows/publish-sub-crate.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: Publish sub crate - -on: - push: - tags: - - "*/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@v3 - - name: Login to crates.io - run: cargo login ${{ secrets.CRATE_API }} - - name: Publish crate - run: bash .github/scripts/publish-crate.sh