From ad9749fc70526f48626f6f98f433ef0ab73795aa Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Mon, 12 Feb 2024 03:18:00 -0500 Subject: Only include DSCs with amd64 --- .github/workflows/release-build.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to '.github/workflows/release-build.yaml') diff --git a/.github/workflows/release-build.yaml b/.github/workflows/release-build.yaml index f728526..8ab4644 100644 --- a/.github/workflows/release-build.yaml +++ b/.github/workflows/release-build.yaml @@ -72,7 +72,10 @@ jobs: COMPONENT="unstable" fi flock /run/lock/github-reprepro-debian.lock sudo reprepro --basedir /srv/debian --component ${COMPONENT} includedeb ${{ matrix.release }} /srv/incoming/${BUILD_VERSION}/debian/${{ matrix.arch }}/${{ matrix.release }}/*.deb - flock /run/lock/github-reprepro-debian.lock sudo reprepro --basedir /srv/debian --component ${COMPONENT} includedsc ${{ matrix.release }} /srv/incoming/${BUILD_VERSION}/debian/${{ matrix.arch }}/${{ matrix.release }}/*.dsc + if [[ ${{ matrix.arch }} == "amd64" ]]; then + # Only include a source DSC for amd64; the other architectures are the same and conflict + flock /run/lock/github-reprepro-debian.lock sudo reprepro --basedir /srv/debian --component ${COMPONENT} includedsc ${{ matrix.release }} /srv/incoming/${BUILD_VERSION}/debian/${{ matrix.arch }}/${{ matrix.release }}/*.dsc + fi - name: "Move artifacts into repository" uses: appleboy/ssh-action@v1.0.3 @@ -148,7 +151,10 @@ jobs: COMPONENT="unstable" fi flock /run/lock/github-reprepro-ubuntu.lock sudo reprepro --basedir /srv/ubuntu --component ${COMPONENT} includedeb ${{ matrix.release }} /srv/incoming/${BUILD_VERSION}/ubuntu/${{ matrix.arch }}/${{ matrix.release }}/*.deb - flock /run/lock/github-reprepro-ubuntu.lock sudo reprepro --basedir /srv/ubuntu --component ${COMPONENT} includedsc ${{ matrix.release }} /srv/incoming/${BUILD_VERSION}/ubuntu/${{ matrix.arch }}/${{ matrix.release }}/*.dsc + if [[ ${{ matrix.arch }} == "amd64" ]]; then + # Only include a source DSC for amd64; the other architectures are the same and conflict + flock /run/lock/github-reprepro-ubuntu.lock sudo reprepro --basedir /srv/ubuntu --component ${COMPONENT} includedsc ${{ matrix.release }} /srv/incoming/${BUILD_VERSION}/ubuntu/${{ matrix.arch }}/${{ matrix.release }}/*.dsc + fi - name: "Move artifacts into repository" uses: appleboy/ssh-action@v1.0.3 -- cgit