Skip to content
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

Composite actions #28

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

Composite actions #28

wants to merge 11 commits into from

Conversation

remodietlicher
Copy link

@remodietlicher remodietlicher commented Mar 8, 2024

@remodietlicher remodietlicher requested a review from M-Wong March 8, 2024 10:02
@remodietlicher remodietlicher self-assigned this Mar 8, 2024
Copy link
Contributor

@fbzli fbzli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sehe den Vorteil der Action nicht ganz. Der Play Store Build dauert so länger, weil die Builds seriell laufen. Und der Actions-Moloch wird noch komplexer.

default: 'app'
main_branch:
required: false
default: 'main'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Geht das auch mit Tags?

default: 'app'
main_branch:
required: false
default: 'main'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Würde hier keinen Default setzen, sollte explizit sein.

self_hosted_cache_secret_key: ${{ inputs.self_hosted_cache_secret_key }}

# Setup the build environment with Gradle
- name: Publish the app
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wie funktioniert das im Zusammenspiel mit den Flavors? Ich will ja keinen Dev-Build releasen.

@@ -0,0 +1,156 @@
name: Build and Upload to UBDiag
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nicht mehr ganz richtig.

@M-Wong
Copy link
Contributor

M-Wong commented Mar 8, 2024

Bin mir auch noch nicht ganz sicher ob das effektiv das ist was wir erreichen wollen. Der Vorteil einer Composite Action gegenüber eines Reusable Workflows ist ja, dass man diese im gleichen Workflow mit anderen Actions kombinieren kann, wohingegen der Reusable Workflow ein gekapselter, "fertiger" Workflow ist, der nur parametrisiert werden muss.
Mit dem Change hier würden wir wieder mehr Komplexität in die einzelnen Repos schieben (weil diese nicht einfach nur den Reusable Workflow mit Parametern aufrufen) ohne dass wir auf die Vorteile zugreifen.
Ich frage mich eher, ob wir Composite Actions innerhalb unseres Reusable Workflows verwenden wollen um repeating Steps zusammenzufassen, aber trotzdem gewisse Jobs zu paralellisieren.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants