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
- Host: GitHub
- URL: https://github.com/enthought/setup-edm-action
- Owner: enthought
- License: other
- Created: 2020-11-26T00:08:46.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-05-20T11:48:44.000Z (about 1 year ago)
- Last Synced: 2026-02-11T18:09:27.772Z (4 months ago)
- Language: Shell
- Homepage:
- Size: 285 KB
- Stars: 1
- Watchers: 5
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.