Skip to content

Latest commit

 

History

History
49 lines (35 loc) · 853 Bytes

README.md

File metadata and controls

49 lines (35 loc) · 853 Bytes

Pashmak programming language for GitHub Actions

Usage

Create a file in .github/workflows/my-workflow.yml and write this content:

name: something

on: [push, pull_request]

jobs:
  my_job:
    runs-on: ${{ matrix.os }}

    strategy:
      fail-fast: false
      matrix:
        os: [ubuntu-18.04, ubuntu-20.04, macos-latest, windows-latest]

    steps:

    # ...

    - name: Set up Pashmak
      uses: pashmaklang/setup-pashmak@v1
      with:
        pashmak-version: 0.8.1

    - name: Run the scripts
      run: |
        pashmak my-program.pashm

    # ...

    name: My Workflow

You should set pashmak-version argument to the version of Pashmak that you want to install:

      with:
        pashmak-version: <version>

Supported runners

  • ubuntu-18.04
  • ubuntu-20.04
  • macos-latest
  • windows-latest