From 4dcff3af67bf7c00f63417bb23768674fd4a26b3 Mon Sep 17 00:00:00 2001 From: Michael Behrisch Date: Mon, 18 Jul 2022 13:55:09 +0200 Subject: [PATCH] avoiding duplicate upload fix #11157 --- .github/workflows/wheel-linux.yml | 2 ++ .github/workflows/wheel-windows.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/wheel-linux.yml b/.github/workflows/wheel-linux.yml index 6cac7ac91b4e..bab694395256 100644 --- a/.github/workflows/wheel-linux.yml +++ b/.github/workflows/wheel-linux.yml @@ -98,11 +98,13 @@ jobs: - name: Downloading Wheels artifact uses: actions/download-artifact@v2 + # this step removes the pypy versions until someone needs them to save some space - name: Moving artifacts run: | ls -lR mkdir dist mv ./*-wheels/* dist + rm -f dist/libsumo*-pypy* dist/libtraci*-pypy* - name: Publish to Test PyPI uses: pypa/gh-action-pypi-publish@master diff --git a/.github/workflows/wheel-windows.yml b/.github/workflows/wheel-windows.yml index 0f69802dd22e..5140c1682ce7 100644 --- a/.github/workflows/wheel-windows.yml +++ b/.github/workflows/wheel-windows.yml @@ -129,11 +129,13 @@ jobs: steps: - uses: actions/download-artifact@v2 + # this step removes the sumolib and traci packages which linux takes care of - name: Moving artifacts run: | ls -lR mkdir dist mv ./*-wheels/* dist + rm -f dist/sumolib* dist/traci* mv dist/eclipse_sumo-*cp38* `echo dist/eclipse_sumo-*cp38* | sed 's/cp38-cp38/py2.py3-none/'` - name: Publish to Test PyPI