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

use a separate workflow for publishing #189

Open
proppy opened this issue Mar 7, 2022 · 1 comment
Open

use a separate workflow for publishing #189

proppy opened this issue Mar 7, 2022 · 1 comment

Comments

@proppy
Copy link
Contributor

proppy commented Mar 7, 2022

Currently the CI rely on a current job that "count" the number of completed siblings jobs in order to trigger the publication step to the main litex-hub package: https://github.com/hdl/conda-eda/blob/master/.github/workflows/build-packages.yml#L801

Instead we could consider using something like:
https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_run to trigger a separate publish-packages workflow once all the build jobs of the build-packages workflow have completed

@umarcor
Copy link
Member

umarcor commented Mar 8, 2022

Note that the default token cannot trigger other workflows (in order to prevent unexperienced users creating infinite loops). You need to use a Personal Access Token in order to be able to trigger other workflows through dispatch. Alternatively, you could use a reusable workflow. See https://github.com/pyTooling/Actions/#context.

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

No branches or pull requests

2 participants