Skip to content

Commit

Permalink
update databricks workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
serhio-k committed Oct 23, 2024
1 parent ac1fd9c commit 1a4920b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/databricks-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,16 @@ jobs:
run: |
cp -n databricks/setup.cfg .
cp -n databricks/pyproject.toml .
sed -i 's/$/rc1+dbx/' src/syngen/VERSION
sed -i 's/$/+dbx.0/' src/syngen/VERSION
cat src/syngen/VERSION
python -m pip install --upgrade pip
pip install build
- name: Build Package
run: python -m build .
- name: Publish package
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
# if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
if: github.event_name == 'push'
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_TEST_TOKEN }} # For release: use secrets.PYPI_TOKEN
password: ${{ secrets.PYPI_TOKEN }} # For test release: use secrets.PYPI_TEST_TOKEN
verbose: true

0 comments on commit 1a4920b

Please sign in to comment.