fix can't find antlr.jar
Some checks failed
build-crpc / build (Release, host.toolchain.cmake) (push) Waiting to run
build-crpc / build (Release, mingw-w64-x86_64.toolchain.cmake) (push) Waiting to run
build-crpc / build (Debug, mingw-w64-x86_64.toolchain.cmake) (push) Failing after 31s
build-crpc / build (Debug, host.toolchain.cmake) (push) Failing after 36s

This commit is contained in:
tqcq 2023-12-03 08:31:59 +08:00
parent 3b598482e9
commit b414c019d3

View File

@ -21,8 +21,8 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Generate Lexer and Parser - name: Generate Lexer and Parser
run: | run: |
wget -q -t 3 https://www.antlr.org/download/antlr-4.13.1-complete.jar -O antlr.jar
cd ${{ github.workspace }}/src/grammar 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 ./ ProtoLexer.g4
java -jar antlr.jar -Dlanguage=Cpp -o ./ ProtoParser.g4 java -jar antlr.jar -Dlanguage=Cpp -o ./ ProtoParser.g4
- name: Configure CRPC - name: Configure CRPC