Moves conditional to correct public push job

This commit is contained in:
Neil Dorin
2020-03-19 09:52:19 -06:00
parent 945cf3182a
commit 741e6070c8

View File

@@ -18,7 +18,7 @@ env:
BUILD_TYPE: Debug BUILD_TYPE: Debug
RELEASE_BRANCH: master RELEASE_BRANCH: master
jobs: jobs:
build_project: Build_Project:
runs-on: windows-latest runs-on: windows-latest
steps: steps:
- name: Checkout repo - name: Checkout repo
@@ -87,9 +87,8 @@ jobs:
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Internal_Push_Output: Internal_Push_Output:
needs: build_project needs: Build_Project
runs-on: windows-latest runs-on: windows-latest
if: contains(github.ref, 'master') || contains(github.ref, 'release')
steps: steps:
- name: Checkout Public Builds Repo - name: Checkout Public Builds Repo
uses: actions/checkout@v2 uses: actions/checkout@v2
@@ -149,8 +148,9 @@ jobs:
- name: Check Directory - name: Check Directory
run: Get-ChildItem ./ run: Get-ChildItem ./
Public_Push_Output: Public_Push_Output:
needs: build_project needs: Build_Project
runs-on: windows-latest runs-on: windows-latest
if: contains(github.ref, 'master') || contains(github.ref, 'release')
steps: steps:
- name: Checkout Internal Builds Repo - name: Checkout Internal Builds Repo
uses: actions/checkout@v2 uses: actions/checkout@v2