From 3673940ba5b5ce95935d8002ac84233e4b0654ef Mon Sep 17 00:00:00 2001 From: Daniel Weindl Date: Wed, 21 Feb 2024 22:58:54 +0100 Subject: [PATCH] Fix MANIFEST.in warning (#2297) * Fix MANIFEST.in Fixes `warning: manifest_maker: MANIFEST.in, line 13: path '**/build/' cannot end with '/'` e.g. https://github.com/AMICI-dev/AMICI/actions/runs/7970974169/job/21759690743?pr=2296#step:14:163 * .. * .. --- .github/workflows/deploy_protected.yml | 2 +- python/sdist/MANIFEST.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy_protected.yml b/.github/workflows/deploy_protected.yml index eaf625ea22..5b32786c37 100644 --- a/.github/workflows/deploy_protected.yml +++ b/.github/workflows/deploy_protected.yml @@ -15,7 +15,7 @@ on: jobs: dockerhub: name: Deploy Dockerhub - if: github.repository_owner == 'AMICI-dev' + if: github.event.pull_request.head.repo.fork == false runs-on: ubuntu-22.04 strategy: diff --git a/python/sdist/MANIFEST.in b/python/sdist/MANIFEST.in index 762987665f..5be0b1ebc6 100644 --- a/python/sdist/MANIFEST.in +++ b/python/sdist/MANIFEST.in @@ -10,7 +10,7 @@ include version.txt include LICENSE.md exclude amici/*.so exclude amici/*.dll -prune **/build/ +prune **/build prune amici/share prune amici/lib prune amici/ThirdParty/SuiteSparse/lib