Challenge for the programming lab p10-t2-lexer-generator
Challenge for the programming lab p10-t2-lexer-generator
Write a GitHub Action Hello World following the tutorial at section Hello Actions World!.
- Save the action code in repo
hello-js-action-aluXXX
, - Inside repo
use-hello-js-action-aluXXX
save the project using the action and - In repo
hello-js-action-super
build a repo having the former two as submodules - Write your
README.md
report in the super-repo. Setmaster
branch for GitHub pages and choose one of the available Jekyll styles. Set the URL in the description section
Optional Step
If you feel enthusiastic about GitHub Actions, continue
using the repo actions/javascript-action
as a template and follow the instructions.
Save the action code in repo hello-js-action-aluXXX
but in a branch with name optional
.
To use this new action, you have to reference it in the client repo like this:
steps:
- uses: ULL-ESIT-PL-1920/hello-js-action-aluXXX@optional # Reference a branch
Pay special attention to how the tests were written in this example.
References
- Template repo for GitHub Actions actions/javascript-action
- Creating a JavaScript action
- Repo ULL-ESIT-PL-1920/hello-world-javascript-action
- Repo ULL-ESIT-PL-1920/use-hello-world-javascript-action
- About Actions
- Building actions
- Metadata syntax for GitHub Actions (The syntax of the action.yml file)
- Setting exit codes for actions
- Versioning Actions (github toolkit)