https://github.com/erg-lang/setup-erg
Set up your GitHub Actions workflow with a specific build of erg
https://github.com/erg-lang/setup-erg
actions erg
Last synced: 16 days ago
JSON representation
Set up your GitHub Actions workflow with a specific build of erg
- Host: GitHub
- URL: https://github.com/erg-lang/setup-erg
- Owner: erg-lang
- License: mit
- Created: 2022-10-15T17:57:49.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-01-29T01:41:43.000Z (10 months ago)
- Last Synced: 2025-01-29T02:30:15.660Z (10 months ago)
- Topics: actions, erg
- Language: JavaScript
- Homepage: https://github.com/marketplace/actions/setup-erg-environment
- Size: 635 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# setup-erg
## example
```yaml
permissions:
contents: write
jobs:
example:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- uses: erg-lang/setup-erg@v4.2
with:
build: 'nightly'
- name: Run script
run: |
echo 'print! "hello, world!"' | erg
```
### build (for developers)
```sh
npm install
npm i -g @vercel/ncc
ncc build main.js
```