Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions .github/workflows/deployPyPi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,17 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
- name: Install SBT
uses: olafurpg/setup-scala@v11
with:
java-version: '11'
- name: Build Scala project
run: sbt assembly
- name: Set up Python
uses: actions/setup-python@v2
with:
Expand All @@ -20,11 +31,11 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install setuptools wheel
- name: Build
- name: Build Python package
run: |
cd python
python setup.py sdist bdist_wheel
- name: Publish
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
Loading