Skip to content

Commit 48df88f

Browse files
committed
fix: correcting issue with antlr
1 parent f2dd4ae commit 48df88f

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/conventionalpr.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ jobs:
88
conventional_commit:
99
name: Conventional Commits
1010
runs-on: ubuntu-latest
11+
permissions:
12+
pull-requests: read
1113
steps:
12-
- uses: actions/checkout@v2
13-
- uses: webiny/action-conventional-commits@v1.0.3
14+
- uses: webiny/action-conventional-commits@v1.3.0
15+
with:
16+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ java_parser:
1616
js_parser:
1717
mkdir -p $(JAVASCRIPT_OUTPUT_DIR)
1818
cd uvl/JavaScript && \
19-
antlr4 $(LIB_FLAG) $(ROOT_DIR)/$(LIB_PATH) -Dlanguage=JavaScript -o $(ROOT_DIR)/$(JAVASCRIPT_OUTPUT_DIR) UVLJavaScriptLexer.g4 UVLJavaScriptParser.g4
19+
ANTLR4_TOOLS_ANTLR_VERSION=4.13.2 antlr4 $(LIB_FLAG) $(ROOT_DIR)/$(LIB_PATH) -Dlanguage=JavaScript -o $(ROOT_DIR)/$(JAVASCRIPT_OUTPUT_DIR) UVLJavaScriptLexer.g4 UVLJavaScriptParser.g4
2020

2121
python_parser:
2222
cd uvl/Python && \
23-
antlr4 $(LIB_FLAG) $(ROOT_DIR)/$(LIB_PATH) -Dlanguage=Python3 -o $(ROOT_DIR)/$(PYTHON_OUTPUT_DIR) UVLPythonLexer.g4 UVLPythonParser.g4
23+
ANTLR4_TOOLS_ANTLR_VERSION=4.13.2 antlr4 $(LIB_FLAG) $(ROOT_DIR)/$(LIB_PATH) -Dlanguage=Python3 -o $(ROOT_DIR)/$(PYTHON_OUTPUT_DIR) UVLPythonLexer.g4 UVLPythonParser.g4
2424

2525
python_prepare_package:
2626
cd python && python3 -m build

0 commit comments

Comments
 (0)