Update README.md

This commit is contained in:
Joshua Bell 2021-07-23 13:13:02 -07:00 committed by GitHub
parent c30c9e08b5
commit 016c3208a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 21 additions and 0 deletions

View File

@ -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
```