Actions are some code that is run each time you make a commit or a pull request. For instance, you could create an action that will verify that your code compiles on some specific platform that you configured.
- : all checks passed
- : at least a check failed
Note: Action for multiples repositories
I had a project (which I deleted), that was having other repositories inside. When you
git clone the repository, you also need to clone the nested repositories.
# filling the folder other-repository-folder-name # with the content from URL/repository.git - run: git clone URL/repository.git other-repository-folder-name
Note: Action for Java
If you're making a project in Java, you need to install Java on the machine on which the code will be run (😎). You can do it using actions/setup-java.
- name: Set up JDK 16 uses: actions/setup-java@v2 with: java-version: '16' distribution: 'adopt'