Skip to content

Commit

Permalink
[Fix] - Github Actions - refining yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryukote committed Oct 11, 2023
1 parent 471d6c3 commit 705534a
Showing 1 changed file with 17 additions and 16 deletions.
33 changes: 17 additions & 16 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,23 @@ on:
push:
branches:
- master
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 }}
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 }}
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 }}
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:
Expand Down

0 comments on commit 705534a

Please sign in to comment.