From ce0f50ab5cbeeab69cb84115b5d6254ffd5ae92d Mon Sep 17 00:00:00 2001 From: Simon Ebner Date: Mon, 20 Jul 2020 09:43:05 +0200 Subject: [PATCH] add github actions --- .github/workflows/conda_publish.yaml | 20 ++++++++++++++++++++ setup.py | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/conda_publish.yaml diff --git a/.github/workflows/conda_publish.yaml b/.github/workflows/conda_publish.yaml new file mode 100644 index 0000000..0d58f9c --- /dev/null +++ b/.github/workflows/conda_publish.yaml @@ -0,0 +1,20 @@ +name: conda_publish + +on: + push: + tags: + - '*' + release: + types: [created] + workflow_dispatch: + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: publish-to-conda + uses: paulscherrerinstitute/conda-publish-action@master + with: + subdir: 'conda-recipe' + anacondatoken: ${{ secrets.ANACONDA_TOKEN }} \ No newline at end of file diff --git a/setup.py b/setup.py index 4f658a2..d7f885b 100755 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ here = os.path.abspath(os.path.dirname(__file__)) README = open(os.path.join(here, 'Readme.md')).read() setup(name='pylauncher', - version='2.0.4', + version='2.0.5', description="Standard PSI tool for accessing GUIs", long_description=README, author='Paul Scherrer Institute',