Skip to content

Commit

Permalink
Update add-to-conda-forge.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
aktech authored Dec 7, 2023
1 parent 32b5ffe commit 5121a56
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/add-to-conda-forge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
run:
shell: bash -el {0}
steps:

- name: Set Inputs
id: set-inputs
run: |
Expand All @@ -46,17 +45,22 @@ jobs:
- name: Get event type
run: |
echo ${{ github.event_name }}
- name: Setup Miniconda
uses: conda-incubator/setup-miniconda@v3.0.1
- name: Setup Mamba
uses: mamba-org/setup-micromamba@v1
with:
mamba-version: "*"
channels: conda-forge
micromamba-version: '1.3.1-0'
init-shell: >-
bash
powershell
cache-environment: true
post-cleanup: 'all'
create-args: >-
python=3.10
grayskull
hub
- name: Clone staged-reciped
run: |
git clone https://github.com/conda-forge/staged-recipes
- name: Install grayskull and hub
run: |
mamba install -c conda-forge grayskull hub
- name: Generate recipe for package using grayskull
run: |
grayskull pypi ${{ steps.set-inputs.outputs.package_name }}
Expand Down

0 comments on commit 5121a56

Please sign in to comment.