From 2bb71f9093dae0f9fe522f7bdebbf5176be5736b Mon Sep 17 00:00:00 2001 From: Corwin Kuiper Date: Sun, 20 Jun 2021 22:58:54 +0100 Subject: [PATCH] actions to publish new versions --- .github/workflows/publish-agb.yml | 19 +++++++++++++++++++ .github/workflows/publish-image-converter.yml | 18 ++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 .github/workflows/publish-agb.yml create mode 100644 .github/workflows/publish-image-converter.yml diff --git a/.github/workflows/publish-agb.yml b/.github/workflows/publish-agb.yml new file mode 100644 index 00000000..e716267e --- /dev/null +++ b/.github/workflows/publish-agb.yml @@ -0,0 +1,19 @@ +on: + push: + branches: + - master + tags: + - v* + + +jobs: + build: + runs-on: ubuntu-20.04 + steps: + - name: Check out repository + uses: actions/checkout@v2 + - name: Login to crates.io + run: cargo login ${{ secrets.CRATE_API }} + - name: Publish agb + run: cargo publish + working-directory: ./agb \ No newline at end of file diff --git a/.github/workflows/publish-image-converter.yml b/.github/workflows/publish-image-converter.yml new file mode 100644 index 00000000..ca840c13 --- /dev/null +++ b/.github/workflows/publish-image-converter.yml @@ -0,0 +1,18 @@ +on: + push: + branches: + - master + tags: + - agb-image-converter/v* + +jobs: + build: + runs-on: ubuntu-20.04 + steps: + - 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