From 016c3208a7ebfaa7b6b98f7b090dc481bca12239 Mon Sep 17 00:00:00 2001 From: Joshua Bell Date: Fri, 23 Jul 2021 13:13:02 -0700 Subject: [PATCH] Update README.md --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index dda1797..b51bd74 100644 --- a/README.md +++ b/README.md @@ -6,3 +6,24 @@ This action will build and install the cc65 assembler components (ca65, ld65). * Targets are built and installed, so later steps can use the `ca65` and `ld65` 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-ca65-action@v1 + - name: build + run: | + ca65 -o example.o example.s + ld65 --config example.cfg -o example example.o +```