Skip to content

Latest commit

 

History

History
38 lines (33 loc) · 1.25 KB

README.md

File metadata and controls

38 lines (33 loc) · 1.25 KB

Setup NVGT Action

This action is useful if you want to integrate NVGT scripting language into your GitHub action (GA) workflow. Currently, this fetches releases from the nvgtreleases repository, but it may be changed in the future should the official developer provide its own artifacts.

Supported OS

The action supports the following operating systems:

  • ubuntu-latest: Linux.
  • windows-latest: Windows.

Notes

  • On Linux, Android compiler is not supported.

Usage

name: Build NVGT
on: push
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Setup NVGT
        uses: harrymkt/setup-nvgt@main
        with:
          latest: true
      - name: Build
        # Your own build here. Eg:
        run: nvgt -c your_script.nvgt

Inputs

Provide variables with the with parameter:

  • latest(bool) optional: Should the action fetch the latest release as possible? Defaults to true.
  • version(string) optional: The NVGT version you want to install if not latest. Eg, 0.89.1_beta. Defaults to none.

Outputs

You can retrieve these outputs with the ${{ steps.job_id.outputs.name }} where name is the variable.

  • path(string): Path to the NVGT installation directory.