Skip to content

Commit

Permalink
Add support for alternative resync location
Browse files Browse the repository at this point in the history
  • Loading branch information
sounddrill31 authored Dec 15, 2024
1 parent 55df051 commit 0a16adc
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,11 @@ jobs:
$LOCAL_MANIFEST && \
# Sync the repositories
/opt/crave/resync.sh && \
if [ -f /usr/bin/resync ]; then
/usr/bin/resync # For compatibility with Omansh's Docker image
else
/opt/crave/resync.sh
fi && \
# Set up build environment
export BUILD_USERNAME=${{ github.actor }} ; \
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/selfhosted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,11 @@ jobs:
$LOCAL_MANIFEST && \
# Sync the repositories
/opt/crave/resync.sh && \
if [ -f /usr/bin/resync ]; then
/usr/bin/resync # For compatibility with Omansh's Docker image
else
/opt/crave/resync.sh
fi && \
# Set up build environment
export BUILD_USERNAME=${{ github.actor }} ; \
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/twrp-legacy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,11 @@ jobs:
$LOCAL_MANIFEST && \
# Sync the repositories
/opt/crave/resync.sh && \
if [ -f /usr/bin/resync ]; then
/usr/bin/resync # For compatibility with Omansh's Docker image
else
/opt/crave/resync.sh
fi && \
# Set up build environment
export BUILD_USERNAME=${{ github.actor }} ; \
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/twrp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,11 @@ jobs:
$LOCAL_MANIFEST && \
# Sync the repositories
/opt/crave/resync.sh && \
if [ -f /usr/bin/resync ]; then
/usr/bin/resync # For compatibility with Omansh's Docker image
else
/opt/crave/resync.sh
fi && \
# Set up build environment
export BUILD_USERNAME=${{ github.actor }} ; \
Expand Down

0 comments on commit 0a16adc

Please sign in to comment.