From 8c61cc56f4937fd01850fd0231526f6f283c2db9 Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Sun, 5 Jul 2020 12:39:52 -0700 Subject: [PATCH] .github/workflows/ci-sage.yml: Actually handle REMOVE_PATCHES --- .github/workflows/ci-sage.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci-sage.yml b/.github/workflows/ci-sage.yml index b5e6bd4e..09a49428 100644 --- a/.github/workflows/ci-sage.yml +++ b/.github/workflows/ci-sage.yml @@ -80,6 +80,7 @@ jobs: (cd build/pkgs/${{ env.SPKG }}/src && (cd .. && tar czf - src) > arb-git.tar.gz) \ && mkdir -p upstream && cp build/pkgs/${{ env.SPKG }}/src/*.tar.gz upstream/${{ env.SPKG }}-git.tar.gz \ && echo "sage-package create ${{ env.SPKG }} --version git --tarball ${{ env.SPKG }}-git.tar.gz --type=optional" > upstream/update-pkgs.sh \ + && if [ -n "${{ env.REMOVE_PATCHES }}" ]; then echo "(cd ../build/pkgs/${{ env.SPKG }}/patches && rm -f ${{ env.REMOVE_PATCHES }}; :)" >> upstream/update-pkgs.sh; fi \ && ls -l upstream/ - uses: actions/upload-artifact@v2 with: