Publish Conda #5
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: 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 }} | |
- name: Publish to Conda | |
uses: marek-mihok/[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 }} |