generated from kea-dev/dx-intro
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Create a new workflow #3
Labels
Comments
Hamsterpants
moved this from Todo
to In Progress
in @Hamsterpants's BoardForWorkflowTest
Feb 6, 2024
Hamsterpants
moved this from In Progress
to Todo
in @Hamsterpants's BoardForWorkflowTest
Feb 6, 2024
Hamsterpants
moved this from Todo
to In Progress
in @Hamsterpants's BoardForWorkflowTest
Feb 6, 2024
Hamsterpants
moved this from In Progress
to Todo
in @Hamsterpants's BoardForWorkflowTest
Feb 6, 2024
Hamsterpants
moved this from Todo
to In Progress
in @Hamsterpants's BoardForWorkflowTest
Feb 6, 2024
Hamsterpants
moved this from In Progress
to Todo
in @Hamsterpants's BoardForWorkflowTest
Feb 6, 2024
Hamsterpants
moved this from Todo
to In Progress
in @Hamsterpants's BoardForWorkflowTest
Feb 6, 2024
Hamsterpants
moved this from In Progress
to Todo
in @Hamsterpants's BoardForWorkflowTest
Feb 6, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Lets try to get a feel for how easy it is to create a new workflow.
In this issue:
Actions
tab and hit theNew worlflow
button 👈Configure
to see the details 👈Java with Maven
...Yup! It's pretty basic. It doesn't really do any integration, so calling it CI is probably a bit overreached, but it does give you a basic skeleton.
But we don't have any Java in this repo, so let's do something else instead. Notice that when you are in a yaml file, which is located in
.github/worflows
and you are in edit mode in GitHub's web interface, then a right panel shows up automatically, which allows you to search the marketplace for more actions.If you browse to the "Getting Started" section you'll see that they actually also suggest something of a template.
I've made an even simpler version of it
.yml
file and save it in.github/worflows
👈add
,commit
andpush
to git 👈Actions
tab and see what happens? 👈Code to copy
A few things worth noticing:
on
doesn't seem to mention an event?env
clause is used inside a step - not globallypeter-evans/create-issue-from-file
action in the equation 😱 What is that?So it appears that nothin happens. On the
Actions
tab you don't see a new workflow run - but if you look closer, under "Workflows" you'll see that the new workflow is listed. If you select it you you'll see a notification the since this workflow defines aworkflow_dispatch
trigger, apparently you can then run it manually. In fact, since it's the only tigger defined, it's the only thing you can do with it!If you haven't already:
The text was updated successfully, but these errors were encountered: