/setup-erg

Set up your GitHub Actions workflow with a specific build of erg

Primary LanguageJavaScriptMIT LicenseMIT

setup-erg

example

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.1
      with:
        build: 'nightly'
    - name: Run script
      run: |
        echo 'print! "hello, world!"' | erg

build (for developers)

npm install
npm i -g @vercel/ncc
ncc build main.js