0
mirror of https://github.com/AllSpiceIO/generate-orcad-schematic-pdf.git synced 2025-06-18 01:55:46 +00:00

Generate a PDF from OrCAD schematics

Generate a PDF output file from an OrCAD schematic file on AllSpice Hub using AllSpice Actions.

Set up a Personal Access Token

Create a personal access token as an Actions secret.

In the following usage example, the personal access token is named PAT.

Usage

Add the following steps to your actions:

- name: Checkout
  uses: actions/checkout@v3

- name: Generate OrCAD Schematic PDF
  uses: https://hub.allspice.io/Actions/generate-orcad-schematic-pdf@v0.1
  with:
    # The repository that triggered this action
    repository: ${{ allspice.repository }}
    # The branch/ref that triggered this action
    ref: ${{ allspice.head_ref || allspice.ref_name }}
    # The sha that triggered this action
    sha: ${{ allspice.sha }}
    # Name of the title block field to annotate with the AllSpice commit
    title_block_field: "Title"
    # Set this to true to commit back to the origin branch of the design file
    commit_to_branch: "True"
    # An auth token / personal access token with write permissions
    auth_token: ${{ secrets.PAT }}
Description
An action to generate a PDF from an OrCAD schematic
Readme MIT 56 KiB