From e10b0de4f8b39afc6eac1171df02ab39068e3208 Mon Sep 17 00:00:00 2001 From: Gwilym Kuiper Date: Sun, 3 Jul 2022 18:26:00 +0100 Subject: [PATCH] Replace sub crate release with full release --- .github/workflows/publish-agb.yml | 6 +++--- .github/workflows/publish-sub-crate.yml | 19 ------------------- 2 files changed, 3 insertions(+), 22 deletions(-) delete mode 100644 .github/workflows/publish-sub-crate.yml 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