Merge pull request #72 from corwinkuiper/publish-actions

actions to publish new versions
This commit is contained in:
Corwin 2021-06-20 23:39:42 +01:00 committed by GitHub
commit 9cca325810
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 37 additions and 0 deletions

19
.github/workflows/publish-agb.yml vendored Normal file
View file

@ -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

View file

@ -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