Skip to content

Commit d6f641e

Browse files
committed
debugging conda workflow
1 parent cd04b4c commit d6f641e

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

.github/workflows/create-release.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -208,12 +208,16 @@ jobs:
208208
token: "${{ secrets.GITHUB_TOKEN }}"
209209

210210
conda:
211-
name: Conda deployment of package with Python ${{ matrix.python-version }}
212-
runs-on: ubuntu-latest
211+
name: Conda deployment of package for platform ${{ matrix.os }} with Python ${{ matrix.python-version }}
212+
runs-on: ${{ matrix.os }}
213213
needs: [ tag, github, version_check ]
214214
if: ${{ startsWith(github.ref_name, 'v') || needs.version_check.outputs.PCAPKIT_TAG_EXISTS == 'false' }}
215215
strategy:
216216
matrix:
217+
os:
218+
- macos-latest
219+
- ubuntu-latest
220+
- windows-latest
217221
python-version:
218222
# - "3.7" # skip for now
219223
- "3.8"
@@ -265,7 +269,6 @@ jobs:
265269
with:
266270
meta_yaml_dir: conda/pypcapkit
267271
python-version: ${{ matrix.python-version }} # Values previously defined in `matrix`
268-
platform_all: true
269272
user: jarryshaw
270273
label: ${{ needs.version_check.outputs.PCAPKIT_CONDA_LABEL }}
271274
token: ${{ secrets.ANACONDA_TOKEN }} # Replace with the right name of your secret
@@ -275,6 +278,6 @@ jobs:
275278
with:
276279
allowUpdates: true
277280
artifacts: |
278-
/tmp/compilation-*/*.tar.bz2
281+
/tmp/compilation-*/**/*.tar.bz2
279282
tag: "v${{ needs.version_check.outputs.PCAPKIT_VERSION }}"
280283
token: "${{ secrets.GITHUB_TOKEN }}"

.github/workflows/cron-conda.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88

99
jobs:
1010
conda-update:
11+
name: Update requirements.txt
1112
runs-on: ubuntu-latest
1213
steps:
1314
- uses: actions/checkout@v3
@@ -103,11 +104,16 @@ jobs:
103104
tags: true
104105

105106
conda-dist:
107+
name: Conda deployment of package for platform ${{ matrix.os }} with Python ${{ matrix.python-version }}
106108
runs-on: ubuntu-latest
107109
needs: [ conda-tag, conda-update ]
108110
if: needs.conda-update.outputs.CONDA_CHANGED == 'true'
109111
strategy:
110112
matrix:
113+
os:
114+
- macos-latest
115+
- ubuntu-latest
116+
- windows-latest
111117
python-version:
112118
#- "3.7" # skip for now
113119
- "3.8"
@@ -169,6 +175,6 @@ jobs:
169175
with:
170176
allowUpdates: true
171177
artifacts: |
172-
/tmp/compilation-*/*.tar.bz2
178+
/tmp/compilation-*/**/*.tar.bz2
173179
tag: "v${{ needs.conda-update.outputs.PCAPKIT_VERSION }}"
174180
token: "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)