-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add publish workflow, first preparation for next release (#1067)
- Loading branch information
1 parent
fdb69f1
commit 6746a80
Showing
6 changed files
with
71 additions
and
19 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Upload Python Package | ||
|
||
on: | ||
release: | ||
types: [created] | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: 3.11 | ||
# use poetry and cache installed packages, see https://github.com/marketplace/actions/python-poetry-action | ||
- name: Install poetry | ||
uses: abatilo/actions-poetry@v2 | ||
- name: Setup a local virtual environment (if no poetry.toml file) | ||
run: | | ||
poetry config virtualenvs.create true --local | ||
poetry config virtualenvs.in-project true --local | ||
- name: Build and publish | ||
env: | ||
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} | ||
run: | | ||
if [ -z "${PYPI_TOKEN}" ]; then echo "Set the PYPI_TOKEN variable in your repository secrets"; exit 1; fi | ||
poetry config pypi-token.pypi $PYPI_TOKEN | ||
poetry config repositories.pypi https://pypi.org/legacy | ||
poetry publish --build --repository pypi |
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
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
Contributors | ||
============ | ||
|
||
We always welcome contributions to help make Tianshou better! | ||
Tiashou was originally created by the `THU-ML Group <https://ml.cs.tsinghua.edu.cn>`_ at Tsinghua University. | ||
|
||
Today, it is backed by the `appliedAI Institute for Europe <https://www.appliedai-institute.de/en/>`_, | ||
which is committed to making Tianshou the go-to resource for reinforcement learning research and development, | ||
and guaranteeing its long-term maintenance and support. | ||
|
||
The original creator Jiayi Weng (`Trinkle23897 <https://github.com/Trinkle23897>`_) continues | ||
to be a key contributor to the project. | ||
|
||
The current tianshou maintainers from the appliedAI Institute for Europe are: | ||
|
||
* Michael Panchenko (`MischaPanch <https://github.com/MischaPanch>`_) | ||
* Dominik Jain (`opcode81 <https://github.com/opcode81>`_) | ||
|
||
|
||
An incomplete list of the early contributors is: | ||
|
||
* Alexis Duburcq (`duburcqa <https://github.com/duburcqa>`_) | ||
* Kaichao You (`youkaichao <https://github.com/youkaichao>`_) | ||
* Huayu Chen (`ChenDRAG <https://github.com/ChenDRAG>`_) | ||
* Yi Su (`nuance1979 <https://github.com/nuance1979>`_) | ||
|
||
|
||
You can find more information about contributors `here <https://github.com/thu-ml/tianshou/graphs/contributors>`_. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -249,3 +249,7 @@ dicts | |
pytorch | ||
tensordict | ||
onwards | ||
Dominik | ||
Tsinghua | ||
Tianshou | ||
appliedAI |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" | |
|
||
[tool.poetry] | ||
name = "tianshou" | ||
version = "0.5.1" | ||
version = "1.0.0" | ||
description = "A Library for Deep Reinforcement Learning" | ||
authors = ["TSAIL <[email protected]>"] | ||
license = "MIT" | ||
|