diff options
author | Joshua M. Boniface <joshua@boniface.me> | 2024-02-12 03:18:00 -0500 |
---|---|---|
committer | Joshua M. Boniface <joshua@boniface.me> | 2024-02-12 03:18:19 -0500 |
commit | ad9749fc70526f48626f6f98f433ef0ab73795aa (patch) | |
tree | 262484242c39048d2aef4615a6dd5eb316537117 /.github/workflows | |
parent | Remove extra newlines (diff) | |
download | jellyfin-packaging-ad9749fc70526f48626f6f98f433ef0ab73795aa.tar.gz jellyfin-packaging-ad9749fc70526f48626f6f98f433ef0ab73795aa.tar.bz2 jellyfin-packaging-ad9749fc70526f48626f6f98f433ef0ab73795aa.zip |
Only include DSCs with amd64
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/release-build.yaml | 10 |
1 files changed, 8 insertions, 2 deletions
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 |