From 239f14597b7c8270ef52d86df5e5ff47eed8bfd9 Mon Sep 17 00:00:00 2001 From: Eberhard Beilharz Date: Wed, 3 Apr 2024 11:08:17 +0200 Subject: [PATCH] chore(linux): Checkout source before building binary packages Since we use an action that is defined in our source tree we have to checkout the source before we can build the binary packages. --- .github/workflows/deb-packaging.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/deb-packaging.yml b/.github/workflows/deb-packaging.yml index 4c2eff56dab..5b21a91c338 100644 --- a/.github/workflows/deb-packaging.yml +++ b/.github/workflows/deb-packaging.yml @@ -119,6 +119,12 @@ jobs: runs-on: ubuntu-latest steps: + - name: Checkout + uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c #v3.3.0 + with: + ref: '${{ github.event.client_payload.buildSha }}' + sparse-checkout: '.github/actions/' + - name: Build uses: ./.github/actions/build-binary-packages with: @@ -138,6 +144,12 @@ jobs: runs-on: ubuntu-latest steps: + - name: Checkout + uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c #v3.3.0 + with: + ref: '${{ github.event.client_payload.buildSha }}' + sparse-checkout: '.github/actions/' + - name: Build continue-on-error: true uses: ./.github/actions/build-binary-packages