Skip to content

Commit 0f30851

Browse files
update publish workflow to install Git and adjust conda build command
1 parent 34a565e commit 0f30851

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@ jobs:
2121
with:
2222
python-version: '3.x'
2323

24-
- name: Install Build Tools
24+
- name: Install Build Tools and Git
2525
run: |
26+
sudo apt-get update
27+
sudo apt-get install -y git
2628
python -m pip install --upgrade pip
2729
pip install build
2830
@@ -56,9 +58,9 @@ jobs:
5658
- name: Build Conda Package
5759
run: |
5860
source /usr/share/miniconda/bin/activate
59-
conda-build .
61+
conda build conda-recipe
6062
61-
- name: publish-to-conda
63+
- name: Publish to Conda
6264
uses: fcakyon/[email protected]
6365
with:
6466
anacondatoken: ${{ secrets.ANACONDA_TOKEN }}

0 commit comments

Comments
 (0)