File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed
Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Generate
2+ on :
3+ pull_request :
4+ branches : [ main ]
5+ jobs :
6+ generate :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - uses : actions/checkout@v2
10+ - name : Set up Python 3.8
11+ uses : actions/setup-python@v5
12+ with :
13+ python-version : ' 3.9'
14+ - uses : actions/cache@v4
15+ id : pip-cache
16+ with :
17+ path : ~/.cache/pip
18+ key : ${{ runner.os }}-pip-
19+ restore-keys : |
20+ ${{ runner.os }}-pip-
21+ - name : Install cookiecutter
22+ run : |
23+ pip install cookiecutter
24+ # - name: Test cookiecutter
25+ # run: |
26+ # cookiecutter . --no-input
27+ # - name: Set up JDK 21
28+ # uses: actions/setup-java@v1
29+ # with:
30+ # java-version: 21
31+ # - name: Cache Maven packages
32+ # uses: actions/cache@v2
33+ # with:
34+ # path: ~/.m2
35+ # key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
36+ # restore-keys: ${{ runner.os }}-m2
37+ # - name: Build with Maven
38+ # run: cd sample && mvn clean install -ntp
You can’t perform that action at this time.
0 commit comments