Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
smistad committed Aug 9, 2023
2 parents 70611ce + a633e05 commit a8eb0ef
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/CI-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -152,15 +153,15 @@ 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

- 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') }}
Expand Down

0 comments on commit a8eb0ef

Please sign in to comment.