mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-11 17:41:33 +11:00
Merge pull request #72 from corwinkuiper/publish-actions
actions to publish new versions
This commit is contained in:
commit
9cca325810
19
.github/workflows/publish-agb.yml
vendored
Normal file
19
.github/workflows/publish-agb.yml
vendored
Normal 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
|
18
.github/workflows/publish-image-converter.yml
vendored
Normal file
18
.github/workflows/publish-image-converter.yml
vendored
Normal 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
|
Loading…
Reference in a new issue