Skip to content

Commit

Permalink
Add missing dollar signs for github variables and test release
Browse files Browse the repository at this point in the history
  • Loading branch information
lexiforest committed Oct 22, 2024
1 parent 6b7a667 commit 86a62f2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ jobs:
- name: upload artifacts
uses: actions/upload-artifact@v4 # https://github.com/actions/upload-artifact/issues/478
with:
name: curl_cffi-${{ github.sha }}-sdist.zip
path: ./dist/*.tar.gz
overwrite: true

bdist:
name: Build bdist wheels and test
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:

- uses: actions/upload-artifact@v4 # https://github.com/actions/upload-artifact/issues/478
with:
name: curl_cffi-{{ github.sha }}-{{ matrix.os }}
name: curl_cffi-${{ github.sha }}-${{ matrix.os }}.zip
path: ./wheelhouse/*.whl

upload_all:
Expand All @@ -91,13 +91,13 @@ jobs:
- uses: actions/[email protected] # https://github.com/actions/upload-artifact/issues/478
if: startsWith(github.ref, 'refs/tags/')
with:
name: artifact
pattern: curl_cffi-*
path: dist

- uses: pypa/[email protected]
if: startsWith(github.ref, 'refs/tags/')
with:
password: ${{ secrets.PYPI_TOKEN }}
# - uses: pypa/[email protected]
# if: startsWith(github.ref, 'refs/tags/')
# with:
# password: ${{ secrets.PYPI_TOKEN }}

- name: Upload release files
if: startsWith(github.ref, 'refs/tags/')
Expand Down

0 comments on commit 86a62f2

Please sign in to comment.