From: Soeren Apel Date: Tue, 13 Aug 2024 15:13:59 +0000 (+0200) Subject: build.yml: Replace checkout action by manual git command X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=5425308e96a4e4a6d9d8c9d0ae6e1df5b48682ca;p=sigrok-build.git build.yml: Replace checkout action by manual git command --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9f8e80d..f273eee 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -56,10 +56,9 @@ jobs: steps: - name: Checkout sigrok-build - uses: actions/checkout@v4 - with: - repository: sigrokproject/sigrok-build - path: sigrok-build + # Cannot use actions/checkout because it always checks out the calling actions' repo, not the one specified + run: | + git clone https://github.com/sigrokproject/sigrok-build.git - name: Build dependencies run: | @@ -132,10 +131,9 @@ jobs: steps: - name: Checkout sigrok-build - uses: actions/checkout@v4 - with: - repository: sigrokproject/sigrok-build - path: sigrok-build + # Cannot use actions/checkout because it always checks out the calling actions' repo, not the one specified + run: | + git clone https://github.com/sigrokproject/sigrok-build.git - name: Build dependencies run: | @@ -232,10 +230,9 @@ jobs: sudo apt-get install -y libboost-system1.65-dev libboost-filesystem1.65-dev libboost-serialization1.65-dev - name: Checkout sigrok-build - uses: actions/checkout@v3 - with: - repository: sigrokproject/sigrok-build - path: sigrok-build + # Cannot use actions/checkout because it always checks out the calling actions' repo, not the one specified + run: | + git clone https://github.com/sigrokproject/sigrok-build.git - name: Build dependencies run: | @@ -330,10 +327,9 @@ jobs: sudo apt-get install -y python3.6-dev - name: Checkout sigrok-build - uses: actions/checkout@v3 - with: - repository: sigrokproject/sigrok-build - path: sigrok-build + # Cannot use actions/checkout because it always checks out the calling actions' repo, not the one specified + run: | + git clone https://github.com/sigrokproject/sigrok-build.git - name: Build dependencies run: | @@ -408,10 +404,9 @@ jobs: # brew link -f $BREW_QT_VERSION - name: Checkout sigrok-build - uses: actions/checkout@v4 - with: - repository: sigrokproject/sigrok-build - path: sigrok-build + # Cannot use actions/checkout because it always checks out the calling actions' repo, not the one specified + run: | + git clone https://github.com/sigrokproject/sigrok-build.git - name: Build dependencies run: | @@ -475,10 +470,9 @@ jobs: glib "$BREW_PYTHON_VERSION" "$BREW_QT_VERSION" - name: Checkout sigrok-build - uses: actions/checkout@v4 - with: - repository: sigrokproject/sigrok-build - path: sigrok-build + # Cannot use actions/checkout because it always checks out the calling actions' repo, not the one specified + run: | + git clone https://github.com/sigrokproject/sigrok-build.git - name: Build dependencies run: |