Skip to content

Commit

Permalink
Initial support for aosp-silver(crave's paid tier)
Browse files Browse the repository at this point in the history
  • Loading branch information
sounddrill31 authored Oct 28, 2024
1 parent a5028da commit fd51dc8
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 8 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -428,15 +428,19 @@ jobs:
cd $PROJECTFOLDER
if [ "${{ github.event.inputs.CLEAN_BUILD }}" == "yes" ]; then
export CLEAN="clean"
export CLEAN="--clean"
fi
if [[ -n "${{ secrets.PAID }}" ]]; then
export PAID="--platform aosp-silver"
fi
echo "Build is queued! Please wait for your build to start."
echo "Check foss.crave.io Dashboard to see builds"
echo "Running build's log will show up here!"
crave ${{ secrets.CRAVE_FLAGS }} run --no-patch --${CLEAN} "rm -rf .repo/local_manifests/ ${{ github.event.inputs.REMOVALS }} && \
crave ${{ secrets.CRAVE_FLAGS }} run --no-patch ${PAID} ${CLEAN} -- "rm -rf .repo/local_manifests/ ${{ github.event.inputs.REMOVALS }} && \
# Clone local_manifests repository
$BUILD_DIFFERENT_ROM ; \
$LOCAL_MANIFEST && \
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/selfhosted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -463,15 +463,19 @@ jobs:
jq '.projects = []' ~/crave.conf > tmp && mv tmp ~/crave.conf
if [ "${{ github.event.inputs.CLEAN_BUILD }}" == "yes" ]; then
export CLEAN="clean"
export CLEAN="--clean"
fi
if [[ -n "${{ secrets.PAID }}" ]]; then
export PAID="--platform aosp-silver"
fi
echo "Build is queued! Please wait for your build to start."
echo "Check foss.crave.io Dashboard to see builds"
echo "Running build's log will show up here!"
crave run --no-patch --${CLEAN} "rm -rf .repo/local_manifests/ ${{ github.event.inputs.REMOVALS }} && \
crave ${{ secrets.CRAVE_FLAGS }} run --no-patch ${PAID} ${CLEAN} -- "rm -rf .repo/local_manifests/ ${{ github.event.inputs.REMOVALS }} && \
# Clone local_manifests repository
$BUILD_DIFFERENT_ROM ; \
$LOCAL_MANIFEST && \
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/twrp-legacy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -349,15 +349,19 @@ jobs:
cd $PROJECTFOLDER
if [ "${{ github.event.inputs.CLEAN_BUILD }}" == "yes" ]; then
export CLEAN="clean"
export CLEAN="--clean"
fi
if [[ -n "${{ secrets.PAID }}" ]]; then
export PAID="--platform aosp-silver"
fi
echo "Build is queued! Please wait for your build to start."
echo "Check foss.crave.io Dashboard to see builds"
echo "Running build's log will show up here!"
crave ${{ secrets.CRAVE_FLAGS }} run --no-patch --${CLEAN} "rm -rf .repo/local_manifests/ ${{ github.event.inputs.REMOVALS }} && \
crave ${{ secrets.CRAVE_FLAGS }} run --no-patch ${PAID} ${CLEAN} -- "rm -rf .repo/local_manifests/ ${{ github.event.inputs.REMOVALS }} && \
# Clone local_manifests repository
$BUILD_DIFFERENT_ROM ; \
$LOCAL_MANIFEST && \
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/twrp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -349,15 +349,19 @@ jobs:
cd $PROJECTFOLDER
if [ "${{ github.event.inputs.CLEAN_BUILD }}" == "yes" ]; then
export CLEAN="clean"
export CLEAN="--clean"
fi
if [[ -n "${{ secrets.PAID }}" ]]; then
export PAID="--platform aosp-silver"
fi
echo "Build is queued! Please wait for your build to start."
echo "Check foss.crave.io Dashboard to see builds"
echo "Running build's log will show up here!"
crave ${{ secrets.CRAVE_FLAGS }} run --no-patch --${CLEAN} "rm -rf .repo/local_manifests/ ${{ github.event.inputs.REMOVALS }} && \
crave ${{ secrets.CRAVE_FLAGS }} run --no-patch ${PAID} ${CLEAN} -- "rm -rf .repo/local_manifests/ ${{ github.event.inputs.REMOVALS }} && \
# Clone local_manifests repository
$BUILD_DIFFERENT_ROM ; \
$LOCAL_MANIFEST && \
Expand Down

0 comments on commit fd51dc8

Please sign in to comment.