10 lines
280 B
YAML
10 lines
280 B
YAML
name: "Get version"
|
|
description: "Gets the version number from GitHub environment"
|
|
|
|
runs:
|
|
using: "composite"
|
|
|
|
steps:
|
|
- if: github.ref_name != "master"
|
|
run: echo "SYNERGY_VERSION=${{ github.event.inputs.version || github.ref_name }}" >> $GITHUB_ENV
|
|
shell: bash
|