diff --git a/.github/workflows/pegasus-regular-build.yml b/.github/workflows/pegasus-regular-build.yml index 622af84088..f192a468a9 100644 --- a/.github/workflows/pegasus-regular-build.yml +++ b/.github/workflows/pegasus-regular-build.yml @@ -59,9 +59,8 @@ jobs: - name: Clone Apache Pegasus Source working-directory: /root run: | - git clone --depth=1 https://github.com/apache/incubator-pegasus.git + git clone -b ${{ github.ref_name }} --depth=1 https://github.com/apache/incubator-pegasus.git cd incubator-pegasus - git checkout ${{ github.ref_name }} - name: Unpack prebuilt third-parties run: unzip /root/thirdparties-bin.zip -d ./thirdparty - name: Compilation pegasus on GCC