From b414c019d39bda4ba99a208e4d7a9f7c3bc3a13c Mon Sep 17 00:00:00 2001 From: tqcq <99722391+tqcq@users.noreply.github.com> Date: Sun, 3 Dec 2023 08:31:59 +0800 Subject: [PATCH] fix can't find antlr.jar --- .gitea/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 5c4a94e..69c0cfd 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -21,8 +21,8 @@ jobs: - uses: actions/checkout@v4 - name: Generate Lexer and Parser run: | - wget -q -t 3 https://www.antlr.org/download/antlr-4.13.1-complete.jar -O antlr.jar cd ${{ github.workspace }}/src/grammar + wget -q -t 3 https://www.antlr.org/download/antlr-4.13.1-complete.jar -O antlr.jar java -jar antlr.jar -Dlanguage=Cpp -o ./ ProtoLexer.g4 java -jar antlr.jar -Dlanguage=Cpp -o ./ ProtoParser.g4 - name: Configure CRPC