Skip to content

Commit

Permalink
github/workflows: fix ci-debian-weekly fetch
Browse files Browse the repository at this point in the history
The ci-debian-weekly workflow use a custom way to fetch the sources,
using the `GITHUB_REF` environment variable to fetch the correct branch.

Signed-off-by: Mathieu Dupré <[email protected]>
  • Loading branch information
dupremathieu committed Feb 19, 2024
1 parent a21ee55 commit 6d65eb5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ci-debian-weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,11 @@ jobs:
CI:
runs-on: [self-hosted, runner-RTE-12]
steps:
- uses: actions/checkout@v2
with:
ref: debian-main
- name: Initialize sources
run: mkdir ${{ env.WORK_DIR }}; cd ${{ env.WORK_DIR }};
git clone -q --depth 1 --recurse-submodules -b main https://github.com/seapath/ci ci;
echo "CI sources downloaded successfully";
ci/launch.sh init;
GITHUB_REF=debian-main ci/launch.sh init;

- name: Configure Debian
id: conf
Expand Down

0 comments on commit 6d65eb5

Please sign in to comment.