Skip to content

Publish Conda

Publish Conda #2

Workflow file for this run

name: Publish Conda
on:
workflow_dispatch:
inputs:
version:
description: 'Release Version'
required: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: "${{ github.event.inputs.version }}"
jobs:
release:
name: Publish Conda
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.GIT_TOKEN }}
# Use older python version when running publish_conda_package_action until https://github.com/amauryval/publish_conda_package_action/issues/4 is resolved.
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Publish to Conda
uses: amauryval/[email protected]
with:
CondaDir: 'py/h2o_wave/conda'
Platforms: 'noarch'
CondaUsername: ${{ secrets.CONDA_USERNAME }}
CondaPassword: ${{ secrets.CONDA_PASSWORD }}
env:
# VERSION clashes with conda build. Use PKG_VERSION instead.
PKG_VERSION: ${{ env.VERSION }}