An open API service indexing awesome lists of open source software.

https://github.com/enthought/setup-edm-action

Setup EDM for GitHub Actions CI
https://github.com/enthought/setup-edm-action

Last synced: 4 months ago
JSON representation

Setup EDM for GitHub Actions CI

Awesome Lists containing this project

README

          

## About

GitHub Action to install [Enthought Deployment Manager](https://www.enthought.com/enthought-deployment-manager/) command line tool.

## Usage

```yaml
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.