Skip to content

Commit

Permalink
Renaming wheel file before uploading
Browse files Browse the repository at this point in the history
  • Loading branch information
hmohiuddinTT committed Apr 2, 2024
1 parent fda514f commit 7efd14f
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/build-and-release-whls.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,18 @@ jobs:
run: |
python -m build
- name: Upload Artifacts
- name: Rename wheel
run: |
RELEASE_TAG=${GITHUB_REF#refs/tags/v}
PYTHON_VERSION=$(echo ${{ matrix.python-version }} | sed 's/\.//')
OS=$(uname -s | tr '[:upper:]' '[:lower:]')
ARCHITECTURE=${{ matrix.architecture }}
mv dist/*.whl "dist/tt_flash-${RELEASE_TAG}-py${PYTHON_VERSION}-none-${OS}_${ARCHITECTURE}.whl"
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: tt-flash-whl-${{ matrix.python-version }}-${{ matrix.architecture }}
name: tt_flash-whl-${{ matrix.python-version }}-${{ matrix.architecture }}
path: |
./dist/*.whl
Expand Down

0 comments on commit 7efd14f

Please sign in to comment.