From 2dc7d5ba0ef57d020f19da873f737e0570b60142 Mon Sep 17 00:00:00 2001 From: Joshua Bell Date: Fri, 23 Jul 2021 13:18:29 -0700 Subject: [PATCH] Update README.md --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) 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 +```