deskflow/.github/actions/get-version/action.yml
2024-09-04 17:52:51 +01:00

12 lines
325 B
YAML

name: "Get version"
description: "Gets the version number from GitHub environment"
runs:
using: "composite"
steps:
- run: |
if [[ "${{ github.ref_name }}" != "master" ]]; then
echo "SYNERGY_VERSION=${{ github.event.inputs.version || github.ref_name }}" >> $GITHUB_ENV
fi
shell: bash