Metadata-Version: 2.3
Name: wasm-action
Version: 0.0.1
Summary: Interact with WebAssembly registries.
Requires-Dist: click>=8.2.1
Requires-Dist: cryptography>=45.0.6
Requires-Dist: leb128>=1.0.8
Requires-Dist: protobuf>=6.32.1
Requires-Dist: pydantic<2
Requires-Dist: python-dateutil>=2.8.2
Requires-Dist: requests>=2.32.4
Requires-Dist: semver>=3.0.4
Requires-Dist: urllib3>=1.25.3
Requires-Dist: validators>=0.35.0
Requires-Python: >=3.12
Description-Content-Type: text/markdown

# wasm-action

**Interact with WebAssembly registries.**

## Features
* Versatile use as a GitHub action, CLI or Python library.
* Supported registry types: warg (wa.dev)
* Supported artifact types: wasm
* Supported actions: pull

## Usage
### Pull from registry
```
      - name: Pull from registry
        uses: xelato/wasm-action
        id: pull
        with:
          action: pull
          registry: wa.dev
          namespace: component-book
          name: adder
```

Outputs:
```
      - name: Display outputs
        shell: bash
        run: |
          echo "registry:" ${{ steps.pull.outputs.registry }}
          echo "registry-type:" ${{ steps.pull.outputs.registry-type }}
          echo "namespace:" ${{ steps.pull.outputs.namespace }}
          echo "name:" ${{ steps.pull.outputs.name }}
          echo "version:" ${{ steps.pull.outputs.version }}
          echo "filename:" ${{ steps.pull.outputs.filename }}
          echo "digest:" ${{ steps.pull.outputs.digest }}
```
