Skip to content

Commit

Permalink
Fix steps
Browse files Browse the repository at this point in the history
  • Loading branch information
kirklandsign committed Sep 24, 2024
1 parent 17ae807 commit 85981fc
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,21 @@ jobs:
touch "${ARTIFACTS_DIR_NAME}/llm_demo/executorch.aar"
upload-release-aar:
name: Upload AAR to RC if ciflow/android/release tag is present
name: upload-release-aar
needs: build-aar
if: ${{ startsWith(github.ref, 'refs/tags/ciflow/android/release') }}
runs-on: ubuntu-22.04
timeout-minutes: 10
run: |
wget https://gha-artifacts.s3.amazonaws.com/${{ github.repository }}/${{ github.run_id }}/artifacts/llm_demo/executorch.aar
steps:
- name: Upload AAR to RC if ciflow/android/release tag is present
shell: bash
run: |
wget https://gha-artifacts.s3.amazonaws.com/${{ github.repository }}/${{ github.run_id }}/artifacts/llm_demo/executorch.aar
pip install awscli==1.32.18
AWS_CMD="aws s3 cp --dryrun"
VERSION_NAME="$(date -f "%Y%m%d")"
${AWS_CMD} executorch.aar s3://ossci-android/executorch/release/${VERSION_NAME}/executorch.aar --acl public-read
pip install awscli==1.32.18
AWS_CMD="aws s3 cp --dryrun"
VERSION_NAME="$(date -f "%Y%m%d")"
${AWS_CMD} executorch.aar s3://ossci-android/executorch/release/${VERSION_NAME}/executorch.aar --acl public-read
# Running Android emulator directly on the runner and not using Docker
run-emulator:
Expand Down

0 comments on commit 85981fc

Please sign in to comment.