Skip to content

Latest commit

 

History

History
43 lines (33 loc) · 910 Bytes

File metadata and controls

43 lines (33 loc) · 910 Bytes

octave_action

A GitHub Action to install GNU Octave on all platforms.

Usage

- uses: calysto/octave_action@v1
  with:
    install-type: ubuntu  # ubuntu | macos | windows | ubuntu-flatpak | ubuntu-snap

Install types

Value Runner Method
ubuntu ubuntu-* apt
macos macos-* Homebrew
windows windows-* winget
ubuntu-flatpak ubuntu-* Flatpak (flathub)
ubuntu-snap ubuntu-* snap (edge)

Example workflow

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v7
      - uses: calysto/octave_action@v1
        with:
          install-type: ubuntu
      - run: octave --eval "disp('hello')"

Contributing

Install just and pre-commit, then run:

just pre-commit