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