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

Generalize publish code action so it can publish to different orgs #365

Merged
merged 9 commits into from
Aug 13, 2024

Conversation

ipince
Copy link
Contributor

@ipince ipince commented Aug 13, 2024

Summary

Assuming the source repo is org1/repo1, the targets can now be of these forms:

  • dir1/dir2 -> publishes to org1/dir2
  • dir2:repo2 -> publishes to org1/repo2
  • dir3:org2/repo3 -> publishes to org2/repo3

How was it tested?

Ran locally (without actually publishing anything).

Also tested publishing to jetify-examples/test-repo:
https://github.com/jetify-com/opensource/actions/runs/10375981931/job/28726924974

@ipince ipince changed the title [wip] test publishing to new org [wip] Generalize publish code action so it can publish to different orgs Aug 13, 2024
@ipince ipince requested a review from loreto August 13, 2024 19:44
@ipince ipince changed the title [wip] Generalize publish code action so it can publish to different orgs Generalize publish code action so it can publish to different orgs Aug 13, 2024
@ipince ipince marked this pull request as ready for review August 13, 2024 19:44
Copy link
Contributor

@loreto loreto left a comment

Choose a reason for hiding this comment

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

LGTM

@ipince ipince merged commit 34d6c07 into main Aug 13, 2024
1 check passed
@ipince ipince deleted the rodrigo/test-gha branch August 13, 2024 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants