Skip to content

Commit

Permalink
Update wheelhouse name
Browse files Browse the repository at this point in the history
  • Loading branch information
PProfizi committed Sep 20, 2023
1 parent 85df258 commit a55ab1f
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,19 +132,27 @@ jobs:
name: ${{ steps.wheel.outputs.wheel_name }}
path: dist/${{ steps.wheel.outputs.wheel_name }}

- name: "Define wheelhouse name"
if: inputs.wheelhouse == 'true'
shell: bash
id: wheelhouse
run: |
export name=ansys-dpf-core-v${${{ steps.wheel.outputs.wheel_name }}:15:5}-wheelhouse-${{ runner.os }}-${{ matrix.python-version }}
echo "name=${name}" >> $GITHUB_OUTPUT
- name: "Zip wheelhouse"
if: inputs.wheelhouse == 'true'
uses: vimtor/[email protected]
with:
files: dist
dest: ${{ steps.wheel.outputs.wheel_name }}_wheelhouse.zip
dest: ${{ steps.wheelhouse.outputs.name }}.zip

- name: "Upload wheelhouse to artifacts"
if: inputs.wheelhouse == 'true'
uses: actions/[email protected]
with:
name: ${{ steps.wheel.outputs.wheel_name }}_wheelhouse
path: ${{ steps.wheel.outputs.wheel_name }}_wheelhouse.zip
name: ${{ steps.wheelhouse.outputs.name }}
path: ${{ steps.wheelhouse.outputs.name }}.zip
retention-days: 7

- name: "Install package wheel"
Expand Down

0 comments on commit a55ab1f

Please sign in to comment.