From a633e0572a8477c22f628cb2f98a31699eab0380 Mon Sep 17 00:00:00 2001 From: Erik Smistad Date: Wed, 9 Aug 2023 11:44:29 +0200 Subject: [PATCH] Update CI-ubuntu.yml [no ci] --- .github/workflows/CI-ubuntu.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CI-ubuntu.yml b/.github/workflows/CI-ubuntu.yml index e57de146f..d58f1a91e 100644 --- a/.github/workflows/CI-ubuntu.yml +++ b/.github/workflows/CI-ubuntu.yml @@ -95,6 +95,7 @@ jobs: - name: Build Python wheel run: | cmake --build build --config ${{env.BUILD_TYPE}} --target python-wheel -j 4 + cp build/python/dist/pyFAST-*.whl build/ - name: Free some space run: | @@ -124,7 +125,7 @@ jobs: uses: actions/upload-artifact@v3 with: name: Python wheel - path: ${{github.workspace}}/build/python/dist/pyFAST-*.whl + path: ${{github.workspace}}/build/pyFAST-*.whl if-no-files-found: error - name: Upload Debian package to release @@ -152,7 +153,7 @@ jobs: uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }} - file: ${{github.workspace}}/build/python/dist/pyFAST-*.whl + file: ${{github.workspace}}/build/pyFAST-*.whl file_glob: true tag: ${{ github.ref }} overwrite: true @@ -160,7 +161,7 @@ jobs: - name: Upload Python wheel to PyPi if: ${{ github.event_name == 'release' && !contains(github.ref, 'rc') }} run: | - twine upload --username smistad --password ${{ secrets.PYPI_PASSWORD }} ${{github.workspace}}/build/python/dist/pyFAST-*.whl + twine upload --username smistad --password ${{ secrets.PYPI_PASSWORD }} ${{github.workspace}}/build/pyFAST-*.whl - name: Test PyPi upload if: ${{ github.event_name == 'release' && !contains(github.ref, 'rc') }}