[go: up one dir, main page]

Skip to content

enthought/setup-edm-action

Repository files navigation

About

GitHub Action to install Enthought Deployment Manager command line tool.

Usage

jobs:
  build:
    strategy:
      matrix:
        os: [macos-latest, ubuntu-latest, windows-latest]
    runs-on: ${{ matrix.os }}
    steps:
      - name: Checkout
        uses: actions/checkout@v4
      - name: Cache EDM packages
        uses: actions/cache@v4
        with:
          path: ~/.cache
          key: ${{ runner.os }}--${{ hashFiles('requirements.txt') }}
      - name: Setup EDM
        uses: enthought/setup-edm-action@v3
        with:
          edm-version: 3.7.0
      - name: Install Python packages
        run: edm install -y typing

Inputs

  • edm-version: (Required) A string to specify the EDM version to be installed, e.g. '3.7.0'
  • download-directory: (Optional) A string to specify the directory for storing the downloaded installer. Default to ~/.cache/download, which is within the default cache folder ~/.cache EDM uses for caching packages and Python runtimes. It is recommended that workflows cache this folder to speed up runs.

Outputs

There are no outputs.