Skip to content

[Fix] - Github Actions - refining yml #7

[Fix] - Github Actions - refining yml

[Fix] - Github Actions - refining yml #7

Workflow file for this run

name: 'tag-version'
on:
push:
branches:
- master
workflow_dispatch:
inputs:
production-branch:
description: 'The branch to use for stable releases in production. Default is master'
required: false
default: master
dev-branch:
description: 'The branch to use for dev deployments. Default is develop'
required: false
default: dev
outputs:
revision:
description: 'The new version that was created and tagged in the format of <major>.<minor>.<build>[.<pre-release-tag>]'
value: ${{ steps.tag-version.outputs.revision }}

Check failure on line 19 in .github/workflows/action.yml

View workflow run for this annotation

GitHub Actions / tag-version

Invalid workflow file

The workflow is not valid. .github/workflows/action.yml (Line: 19, Col: 16): Unrecognized named-value: 'steps'. Located at position 1 within expression: steps.tag-version.outputs.revision .github/workflows/action.yml (Line: 22, Col: 16): Unrecognized named-value: 'steps'. Located at position 1 within expression: steps.tag-version.outputs.is-prerelease
is-prerelease:
description: 'Is true if this is a release into a non-production environment and indicates the build may be unstable. Returns false otherwise.'
value: ${{ steps.tag-version.outputs.is-prerelease }}
jobs:
tag-changes:
steps:
- id: tag-version
run: bash $GITHUB_ACTION_PATH/src/tag-version.sh ${{ inputs.production-branch }} ${{ inputs.dev-branch }}
shell: bash