Browse Source

Fix if logic for checkout step (#126)

pull/133/head
Vince Grassia 3 years ago committed by GitHub
parent
commit
d9e56c212b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      .github/workflows/build-unified.yml

5
.github/workflows/build-unified.yml

@ -9,8 +9,6 @@ on: @@ -9,8 +9,6 @@ on:
workflow_call:
inputs:
server_branch:
description: "Server branch name to deploy (examples: 'master', 'rc', 'feature/sm')"
required: true
type: string
default: master
is_workflow_call:
@ -20,7 +18,6 @@ on: @@ -20,7 +18,6 @@ on:
inputs:
server_branch:
description: "Server branch name to deploy (examples: 'master', 'rc', 'feature/sm')"
required: true
type: string
default: master
pull_request:
@ -41,7 +38,7 @@ jobs: @@ -41,7 +38,7 @@ jobs:
ref: master
- name: Checkout Repository - workflow_dispatch
if: ${{ github.event_name == 'workflow_dispatch' }}
if: ${{ inputs.is_workflow_call != true }}
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
- name: Get server branch to checkout

Loading…
Cancel
Save