You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Configure Tramline
v0.1.6
This allows for a more seamless experience integrating Tramline with your CI workflows.
See action.yml.
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:
steps.tramline.outputs.version_code
steps.tramline.outputs.version_name
Optionally,
steps.tramline.outputs.commit_ref
steps.tramline.outputs.build_notes