mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-11 09:31:34 +11:00
Add release script and workflow to release agb-entry
This commit is contained in:
parent
739f81dd30
commit
d74c876238
20
.github/workflows/publish-agb-entry.yml
vendored
Normal file
20
.github/workflows/publish-agb-entry.yml
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
name: Publish agb-entry
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- agb-entry/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@v2
|
||||
- name: Login to crates.io
|
||||
run: cargo login ${{ secrets.CRATE_API }}
|
||||
- name: Publish agb-entry
|
||||
run: cargo publish
|
||||
working-directory: ./agb-entry
|
|
@ -28,6 +28,10 @@ case "$PROJECT" in
|
|||
DIRECTORY="agb-image-converter"
|
||||
TAGNAME="agb-image-converter/v$VERSION"
|
||||
;;
|
||||
agb-entry)
|
||||
DIRECTORY="agb-entry"
|
||||
TAGNAME="agb-entry/v$VERSION"
|
||||
;;
|
||||
mgba-test-runner)
|
||||
DIRECTORY="mgba-test-runner"
|
||||
TAGNAME="mgba-test-runner/v$VERSION"
|
||||
|
|
Loading…
Reference in a new issue