Skip to content

Configure Tramline

Actions
Checkout the correct ref parse JSON inputs
v0.1.7
Latest
Star (0)

Tramline Deploy Action for GitHub

This allows for a more seamless experience integrating Tramline with your CI workflows.

See action.yml.

Usage

Set up your workflow to accept inputs on dispatch.

on:
  workflow_dispatch:
    inputs:
      tramline-input:
        required: false

Add this step to your workflow. This step also runs the checkout against the correct commit SHA passed in by Tramline. So you don't need to add an additional actions/checkout@v3 step.

steps:
  - name: Configure Tramline
    id: tramline
    uses: tramlinehq/[email protected]
    with:
      input: ${{ github.event.inputs.tramline-input }}

You can now use the following outputs from this step:

  1. steps.tramline.outputs.version_code
  2. steps.tramline.outputs.version_name

Optionally,

  1. steps.tramline.outputs.commit_ref
  2. steps.tramline.outputs.build_notes

Configure Tramline is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Checkout the correct ref parse JSON inputs
v0.1.7
Latest

Configure Tramline is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.