Skip to content

Commit

Permalink
Add SDK pull from Git LFS
Browse files Browse the repository at this point in the history
  • Loading branch information
bdhoine committed Nov 22, 2024
1 parent b2c378d commit 4458ad2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
22 changes: 10 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,18 @@ jobs:
- name: Cache SDK
uses: actions/cache@v4
with:
path: aem-sdk-${{ env.AEM_SDK_VERSION }}.zip
path: aem-sdk-artifacts
key: aem-sdk-${{ env.AEM_SDK_VERSION }}.zip
- name: Download SDK
- name: Checkout AEM SDK artifacts repository
uses: actions/checkout@v4
with:
name: orbinson/aem-sdk-artifacts
token: ${{ secrets.PRIVATE_TOKEN }}
path: aem-sdk-artifacts
- name: Pull SDK
run: |
if ! [ -f aem-sdk-${{ env.AEM_SDK_VERSION }}.zip ]; then
touch aem-sdk-${{ env.AEM_SDK_VERSION }}.zip
else
ls -la
fi
# - name: Checkout AEM SDK artifacts repository
# uses: actions/checkout@v4
# with:
# name: orbinson/aem-sdk-artifacts
# token: ${{ secrets.GITHUB_PRIVATE_TOKEN }} # Required for private repositories, setup with https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line
cd aem-sdk-artifacts
git lfs pull --include="aem-sdk-${{ env.AEM_SDK_VERSION }}.zip"
# - name: Set up QEMU
# uses: docker/setup-qemu-action@v3
# - name: Set up Docker Buildx
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ WORKDIR /opt

COPY aem-start.sh /usr/local/bin/aem-start

#COPY aem-sdk-*.zip aem/home/lib/
COPY aem-sdk-artifacts/aem-sdk-*.zip aem/home/lib/

RUN chmod +x /usr/local/bin/aem-start

Expand Down

0 comments on commit 4458ad2

Please sign in to comment.