-
Notifications
You must be signed in to change notification settings - Fork 6
ci: add reusable workflows #1
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
Conversation
1ddfb3f
to
28f8bed
Compare
@Paebbels, as discussed in the meeting, I did several enhancements to this PR:
Furthermore, I updated the example pipeline, to show all the required and optional inputs. This is currently tested in three repos:
|
9fcb656
to
6b870ff
Compare
… to 'params.artifacts.package'
Since the ArtifactCleanUp job now has more than one step, I created a reusable workflow. I tested it in pyEDAA.ProjectModel, successfully. I changed |
This PR adds 11 reusable workflows, based on the jobs used in repos from this organisation, EDA², VHDL, and others.
The expected order is:
Moreover, an example workflow named
ExamplePipeline.yml
is provided, for tool developers to copy it into their repos. The only required modification should be setting thename
input of jobParams
.IMPORTANT: reusable workflows must be used through an absolute name and specifying a version (see actions/runner#1493). Therefore, this PR will be kept as a draft, because
s/@dev/@main/
is required inExamplePipeline.yml
before merging.