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: Test Build of conda packages | |
# Controls when the action will run. | |
on: | |
# Triggers the workflow on push or pull request events but only for the main branch | |
push: | |
branches: [ "*" ] | |
# pull_request: | |
# branches: [ main ] | |
# Allows you to run this workflow manually from the Actions tab | |
# workflow_dispatch: | |
jobs: | |
conda_deployment_with_new_tag: | |
name: Test conda deployment of package with Python ${{ matrix.python-version }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Conda environment creation and activation | |
- name: Set up hatch | |
uses: ./.github/actions/setup-conda | |
- name: build package | |
run: conda build --no-copy-test-source-files recipe.local --output-folder ./conda_packages | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: conda-package | |
path: ./conda_packages | |