diff --git a/README.md b/README.md index 8dfbf7f..62872d0 100644 --- a/README.md +++ b/README.md @@ -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 +```