Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
murki committed Dec 9, 2024
1 parent 49e60bb commit ba27da4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 25 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/integrations_android.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,17 +59,17 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: capture-timber.zip
path: platform/jvm/capture-timber.zip
path: platform/jvm/capture-timber-${{ inputs.version }}.android.zip
if-no-files-found: error
- name: Upload Apollo artifacts
uses: actions/upload-artifact@v4
with:
name: capture-apollo3.zip
path: platform/jvm/capture-apollo3.zip
path: platform/jvm/capture-apollo3-${{ inputs.version }}.android.zip
if-no-files-found: error
- name: Upload Gradle Plugin artifacts
uses: actions/upload-artifact@v4
with:
name: capture-plugin.zip
path: platform/jvm/capture-plugin.zip
path: platform/jvm/capture-plugin-${{ inputs.version }}.android.zip
if-no-files-found: error
2 changes: 1 addition & 1 deletion .github/workflows/release_gh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ jobs:
"example-apps.ios.zip" \
"example-apps.android.zip" \
"capture-timber-$VERSION.android.zip" \
"capture-apollo3-$VERSION.android.zip" \
"capture-apollo3-$VERSION.android.zip" \
"capture-plugin-$VERSION.android.zip"
env:
VERSION: ${{ inputs.version }}
Expand Down
21 changes: 0 additions & 21 deletions ci/gh_prepare_android_artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,25 +40,4 @@ function prepare_capture_sdk() {
popd
}

function prepare_capture_timber() {
echo "+++ Preparing Android Capture Timber library artifacts for '$version' version"

cp "$sdk_repo/capture-timber.zip" "$sdk_repo/capture-timber-$version.android.zip"
}

function prepare_capture_apollo3() {
echo "+++ Preparing Android Capture Apollo3 library artifacts for '$version' version"

cp "$sdk_repo/capture-apollo3.zip" "$sdk_repo/capture-apollo4-$version.android.zip"
}

function prepare_capture_plugin() {
echo "+++ Preparing Android Capture Android Plugin artifacts for '$version' version"

cp "$sdk_repo/capture-plugin.zip" "$sdk_repo/capture-plugin-$version.android.zip"
}

prepare_capture_sdk
prepare_capture_timber
prepare_capture_apollo3
prepare_capture_plugin

0 comments on commit ba27da4

Please sign in to comment.