A GitHub Action that installs APM (Agent Package Manager) and deploys agent primitives (instructions, prompts, skills, agents) into your CI workflows. One line. Zero config.
- uses: microsoft/apm-action@v1This installs the APM CLI, reads your apm.yml, and runs apm install.
- uses: microsoft/apm-action@v1
with:
compile: 'true' # generate AGENTS.md after install
apm-version: '0.7.0' # pin a specific APM version
working-directory: './my-project' # custom working directory- uses: microsoft/apm-action@v1
with:
isolated: 'true'
dependencies: |
- microsoft/apm-sample-package| Input | Required | Default | Description |
|---|---|---|---|
working-directory |
No | . |
Working directory for execution |
apm-version |
No | latest |
APM version to install |
script |
No | APM script to run after install | |
dependencies |
No | YAML array of extra dependencies to install (additive to apm.yml) | |
isolated |
No | false |
Ignore apm.yml and clear pre-existing primitive dirs (instructions/, agents/, skills/, prompts/) under .github/ — install only inline dependencies |
compile |
No | false |
Run apm compile after install to generate AGENTS.md |
| Output | Description |
|---|---|
success |
Whether the action succeeded (true/false) |
primitives-path |
Path where agent primitives were deployed (.github) |
This action bundles the following open-source packages (see dist/licenses.txt for full license texts):
- @actions/core — GitHub Actions toolkit (MIT)
- @actions/exec — GitHub Actions exec helpers (MIT)
- @actions/io — GitHub Actions I/O helpers (MIT)
- js-yaml — YAML parser (MIT)
See CONTRIBUTING.md for details.
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.