Skip to content

Commit

Permalink
Minor improvements.
Browse files Browse the repository at this point in the history
Signed-off-by: mmazas <[email protected]>
  • Loading branch information
mmazas authored and mmazas committed Jul 20, 2024
1 parent 8f5e873 commit b09d04e
Showing 1 changed file with 30 additions and 5 deletions.
35 changes: 30 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,26 @@ jobs:

steps:

- uses: actions/checkout@v4
- name: clone javacc-8
uses: actions/checkout@v4
with:
repository: javacc/javacc-8.git
path: javacc-8
ref: release

- name: clone javacc-8-core
uses: actions/checkout@v4
with:
repository: javacc/javacc-8-core.git
path: javacc-8-core
ref: release

- name: clone javacc-8-cpp
uses: actions/checkout@v4
with:
repository: javacc/javacc-8-cpp.git
path: javacc-8-cpp
ref: release

- name: Set up JDK 11
uses: actions/setup-java@v4
Expand All @@ -62,9 +81,15 @@ jobs:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2

# - name: Build package on javacc-8-cpp
# run: mvn -B -e package

# -B: batch mode; -e: produce execution error messages;
# -X: debug mode; -N: non-recursive (don't build submodules)

- name: Build install on javacc-8 only
run: mvn install -B -N --show-version --file javacc-8/pom.xml

- name: Run install on javacc-8-core
run: mvn install -B --show-version --file javacc-8-core/pom.xml

- name: Run install on javacc-8-cpp
run: mvn -B -e install
run: mvn install -B --show-version --file javacc-8-cpp/pom.xml

0 comments on commit b09d04e

Please sign in to comment.