Skip to content

Commit

Permalink
Update PBRP.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SIDDK24 authored Mar 9, 2021
1 parent 2ea7a11 commit 1ae2ff1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/PBRP.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ jobs:
- name: Auto Adapt Manifest
run: echo "MANIFEST=https://github.com/PitchBlackRecoveryProject/manifest_pb -b ${GITHUB_REF##*/}" >> $GITHUB_ENV

- name: Export Vars
run: |
if [[ ${BUILD_RELEASE_TYPE} == "TEST" ]]; then echo "TEST_BUILD=true" >> $GITHUB_ENV;fi
if [[ ${BUILD_RELEASE_TYPE} == "BETA" ]]; then echo "BETA_BUILD=true" >> $GITHUB_ENV;fi
if [[ ${BUILD_RELEASE_TYPE} == "OFFICIAL" ]]; then echo "PB_OFFICIAL=true" >> $GITHUB_ENV;fi
- name: Recovery Compilation
uses: Carbonatedblack/Recovery-Compiler@beta

Expand All @@ -40,5 +46,4 @@ jobs:
sudo apt-get update && sudo apt-get install sshpass -y
export CIRCLE_SHA1=$GITHUB_SHA
cd $BuildPath
if [[ ! -z "${{ github.event.inputs.DEPLOY_TYPE }}" ]]; then export BUILD_RELEASE_TYPE="TEST" ;fi
bash vendor/utils/pb_deploy.sh ${BUILD_RELEASE_TYPE} ${VENDOR} ${CODENAME}

0 comments on commit 1ae2ff1

Please sign in to comment.