1
0
mirror of https://github.com/bitwarden/directory-connector synced 2025-12-10 13:23:18 +00:00

Added logic based on input (#196)

This commit is contained in:
Micaiah Martin
2021-12-20 14:53:30 -07:00
committed by GitHub
parent 5ff041aa7b
commit a893c78c74

View File

@@ -3,6 +3,15 @@ name: Release
on: on:
workflow_dispatch: workflow_dispatch:
inputs:
release_type:
description: 'Release Options'
required: true
default: 'Initial Release'
type: choice
options:
- Initial Release
- Redeploy
jobs: jobs:
setup: setup:
@@ -28,6 +37,7 @@ jobs:
echo "::set-output name=package_version::$PKG_VERSION" echo "::set-output name=package_version::$PKG_VERSION"
- name: Check to make sure Mobile release version has been bumped - name: Check to make sure Mobile release version has been bumped
if: ${{ github.event.inputs.release_type == 'Initial Release' }}
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: | run: |