added selector for consistent data from partial experiments #15
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: main release | |
on: | |
release: | |
types: [released] | |
jobs: | |
pypi-publish: | |
name: upload release to PyPI | |
runs-on: ubuntu-latest | |
environment: release | |
permissions: | |
id-token: write | |
steps: | |
# check out the github repository | |
- uses: actions/[email protected] | |
# set up python | |
- name: set up python "3.12" | |
uses: actions/[email protected] | |
with: | |
python-version: "3.12" | |
# clean-up | |
- name: clean up | |
run: | | |
rm -rf /home/runner/work/moptipy/moptipy/docs/build/ | |
rm -rf /home/runner/work/moptipy/moptipy/dist | |
rm -rf /home/runner/work/moptipy/moptipy/build | |
# execute the actual make build process | |
- name: execute the make build | |
run: | | |
./make.sh | |
rm -rf /home/runner/work/moptipy/moptipy/dist/*.txt | |
rm -rf /home/runner/work/moptipy/moptipy/dist/*.tar.xz | |
# deploy to pypi | |
- name: Publish package distributions to PyPI | |
uses: pypa/gh-action-pypi-publish@release/v1 |