Skip to content

erg-lang/setup-erg

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

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/[email protected]
      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