Skip to content

Commit 03ed247

Browse files
authored
[andr][ci] adding omission for pollo ci release (#147)
* [andr][ci] adding omission for pollo ci release * simplify * simplify further
1 parent f29aaed commit 03ed247

File tree

3 files changed

+7
-39
lines changed

3 files changed

+7
-39
lines changed

.github/workflows/integrations_android.yaml

+6-18
Original file line numberDiff line numberDiff line change
@@ -43,33 +43,21 @@ jobs:
4343
run: ./gradlew :capture-plugin:publish -PVERSION_NAME="${{ inputs.version }}" --info
4444
env:
4545
SKIP_PROTO_GEN: 1
46-
- name: Compress Timber artifacts
47-
run: |
48-
readonly dir=$(pwd)
49-
(cd capture-timber/build/repos/releases/io/bitdrift/capture-timber/${{ inputs.version }} && zip -r "$dir/capture-timber.zip" ./*)
50-
- name: Compress Apollo artifacts
51-
run: |
52-
readonly dir=$(pwd)
53-
(cd capture-apollo3/build/repos/releases/io/bitdrift/capture-apollo3/${{ inputs.version }} && zip -r "$dir/capture-apollo3.zip" ./*)
54-
- name: Compress Android Plugin artifacts
55-
run: |
56-
readonly dir=$(pwd)
57-
(cd capture-plugin/build/repos/releases/io/bitdrift/capture-plugin/${{ inputs.version }} && zip -r "$dir/capture-plugin.zip" ./*)
5846
- name: Upload Timber artifacts
5947
uses: actions/upload-artifact@v4
6048
with:
61-
name: capture-timber.zip
62-
path: platform/jvm/capture-timber.zip
49+
name: capture-timber-${{ inputs.version }}.android.zip
50+
path: capture-timber/build/repos/releases/io/bitdrift/capture-timber/${{ inputs.version }}
6351
if-no-files-found: error
6452
- name: Upload Apollo artifacts
6553
uses: actions/upload-artifact@v4
6654
with:
67-
name: capture-apollo3.zip
68-
path: platform/jvm/capture-apollo3.zip
55+
name: capture-apollo3-${{ inputs.version }}.android.zip
56+
path: capture-apollo3/build/repos/releases/io/bitdrift/capture-apollo3/${{ inputs.version }}
6957
if-no-files-found: error
7058
- name: Upload Gradle Plugin artifacts
7159
uses: actions/upload-artifact@v4
7260
with:
73-
name: capture-plugin.zip
74-
path: platform/jvm/capture-plugin.zip
61+
name: capture-plugin-${{ inputs.version }}.android.zip
62+
path: capture-plugin/build/repos/releases/io/bitdrift/capture-plugin/${{ inputs.version }}
7563
if-no-files-found: error

.github/workflows/release_gh.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ jobs:
230230
"example-apps.ios.zip" \
231231
"example-apps.android.zip" \
232232
"capture-timber-$VERSION.android.zip" \
233-
"capture-apollo3-$VERSION.android.zip" \
233+
"capture-apollo3-$VERSION.android.zip" \
234234
"capture-plugin-$VERSION.android.zip"
235235
env:
236236
VERSION: ${{ inputs.version }}

ci/gh_prepare_android_artifacts.sh

-20
Original file line numberDiff line numberDiff line change
@@ -40,24 +40,4 @@ function prepare_capture_sdk() {
4040
popd
4141
}
4242

43-
function prepare_capture_timber() {
44-
echo "+++ Preparing Android Capture Timber library artifacts for '$version' version"
45-
46-
cp "$sdk_repo/capture-timber.zip" "$sdk_repo/capture-timber-$version.android.zip"
47-
}
48-
49-
function prepare_capture_apollo3() {
50-
echo "+++ Preparing Android Capture Apollo3 library artifacts for '$version' version"
51-
52-
cp "$sdk_repo/capture-apollo3.zip" "$sdk_repo/capture-apollo4-$version.android.zip"
53-
}
54-
55-
function prepare_capture_plugin() {
56-
echo "+++ Preparing Android Capture Android Plugin artifacts for '$version' version"
57-
58-
cp "$sdk_repo/capture-plugin.zip" "$sdk_repo/capture-plugin-$version.android.zip"
59-
}
60-
6143
prepare_capture_sdk
62-
prepare_capture_timber
63-
prepare_capture_plugin

0 commit comments

Comments
 (0)