Update README.md

This commit is contained in:
Joshua Bell 2021-07-23 13:18:29 -07:00 committed by GitHub
parent 8e3ac52331
commit 2dc7d5ba0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 22 additions and 0 deletions

View File

@ -6,3 +6,25 @@ This action will build and install the Cadius tool for creating and modifying Ap
* Cadius is built and installed, so later steps can use `cadius` commands directly.
The action has no inputs or outputs.
## Example
```yml
name: build
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: a2stuff/build-install-cadius-action@v1
- name: build and package
run: |
make
cp out/built.BIN "out/BUILT#062000"
cadius CREATEVOLUME image.po VOLNAME 140KB
cadius ADDFILE image.po /VOLNAME "out/BUILT#062000"
cadius CATALOG image.po
```