Skip to content

Commit 82ebae4

Browse files
committed
debugging conda workflow
1 parent ef415d0 commit 82ebae4

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

.github/workflows/create-release.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -175,11 +175,6 @@ jobs:
175175
with:
176176
fetch-depth: 0
177177

178-
- name: Create Tag
179-
uses: rickstaa/action-create-tag@v1
180-
with:
181-
tag: "conda-${{ needs.version_check.outputs.PCAPKIT_VERSION }}+0"
182-
183178
- uses: actions/setup-python@v4
184179
with:
185180
python-version: ${{ matrix.python-version }}
@@ -192,11 +187,24 @@ jobs:
192187
python -m pip install -e .[all]
193188
python -m pip install pathlib2 typing_extensions
194189
190+
- name: Checkout at Version
191+
run: |
192+
set -x
193+
194+
git checkout v$(python -c 'import pcapkit; print(pcapkit.__version__)')
195+
196+
- name: Create Tag
197+
uses: rickstaa/action-create-tag@v1
198+
with:
199+
tag: "conda-${{ needs.version_check.outputs.PCAPKIT_VERSION }}+0"
200+
github_token: ${{ secrets.GITHUB_TOKEN }}
201+
195202
- name: Setup Conda Distribution
196203
run: |
197204
export PCAPKIT_DEVMODE=1
198205
export PCAPKIT_VERBOSE=1
199206
207+
echo 0 > conda/build
200208
python util/conda-dist.py
201209
202210
- name: Conda environment creation and activation

0 commit comments

Comments
 (0)