Create main.yml #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI devops 2023 | |
on: | |
#to begin you want to launch this job in main and develop | |
push: | |
branches: #TODO | |
pull_request: | |
jobs: | |
test-backend: | |
runs-on: ubuntu-22.04 | |
steps: | |
#checkout your github code using actions/[email protected] | |
- uses: actions/[email protected] | |
#do the same with another action (actions/setup-java@v3) that enable to setup jdk 17 | |
- name: Set up JDK 17 | |
#TODO | |
#finally build your app with the latest command | |
- name: Build and test with Maven | |
run: #TODO |