Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ollydev authored May 20, 2022
1 parent e54ebcb commit f3fce1e
Showing 1 changed file with 4 additions and 22 deletions.
26 changes: 4 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Simple action which installs Lazarus and FPC from provided URLs.
Simple action which installs Lazarus and FPC from sourceforge releases.

## Example usage

Expand Down Expand Up @@ -39,33 +39,15 @@ jobs:
https://sourceforge.net/projects/lazarus/files/Lazarus%20macOS%20x86-64/Lazarus%202.0.12/fpc-src-3.2.0-2-laz.pkg
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v3.0.2

- name: Install Lazarus
uses: ollydev/setup-lazarus@v1
uses: ollydev/setup-lazarus@v2
with:
laz-url: ${{ matrix.config.laz-url }}
fpc-url: ${{ matrix.config.fpc-url }}

- name: 'Test Installation'
- name: Test Installation
run: |
lazbuild --version
```
## Development notes
`index.js` contains the entire action code. Everything in `dist/` is automatically generated by ncc.

Run `npm run build` before commit!

```
// Notes on how the action was made
npm init
npm install @actions/core // and whatever else is used
npm install @vercel/ncc --save-dev

// package.json
"build": "ncc build index.js -o dist --source-map"
// action.yml
main: 'dist/index.js'
```

0 comments on commit f3fce1e

Please sign in to comment.