-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android custom build and test workflow artifact upload support #109
Android custom build and test workflow artifact upload support #109
Conversation
Updating version to gha-ios-5.1.0
@@ -105,7 +105,7 @@ jobs: | |||
uses: actions/checkout@v4.2.2 | |||
|
|||
- name: Setup Dependencies | |||
uses: adobe/aepsdk-commons/.github/actions/android-setup-dependencies-action@gha-android-3.1.1 | |||
uses: timkimadobe/aepsdk-commons/.github/actions/android-setup-dependencies-action@gha-android-3.2.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you switch it back from your fork?
if [[ -z "$ARTIFACT_NAME" ]]; then | ||
ARTIFACT_NAME="artifact" | ||
fi | ||
echo "ARTIFACT_FILE_NAME=artifact-${FILE_TIMESTAMP}Z_${ARTIFACT_NAME}" >> $GITHUB_ENV |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you modify the logic to append this prefix only when ARTIFACT_NAME is not present?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Based on our discussion, planning on keeping the timestamp prefix, but I also added the feature to control it using a flag along with the overwrite setting
Note
Because new features and breaking changes are being introduced:
The Android workflow version is planned to be incremented from
3.1.1
->3.2.0
.The iOS workflow version is planned to be incremented from
5.0.1
->5.1.0
.Description
This PR:
ci-lint
that caller repos can setup to chain whichever lint commands they want for their repo, instead of being prescriptive about which lint commands to use.action/cache
actions/upload-artifacts
action as part of the Android custom build and test workflow. This is in order to support Core's CI checks that publish JitPack versions of libraries locally and upload them as artifacts:CircleCI:
See: https://github.com/adobe/aepsdk-core-android/blob/d3e61e63f80799942171e04e7d1b79a3a1a7c717/.circleci/config.yml#L46
It provides 4 passthrough params:
And a custom flag that controls the filename uniqueness helper:
See full docs: https://github.com/actions/upload-artifact
''
is set), then theupload-artifact
step will simply be skipped.The goal is to be able to use this new support like the following:
See example usage: https://github.com/timkimadobe/aepsdk-core-android/actions/runs/13044629358
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: