File tree Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -73,21 +73,12 @@ jobs:
73
73
git config --global user.name "geisserml"
74
74
python -m pip install -U -r req/setup.txt
75
75
76
- # TODO might be able to unify with ${{ inputs.package == 'raw' && inputs.new_only && '--new-only' || '' }} or something
77
-
78
76
- name : Build package
79
- if : ${{ inputs.package == 'helpers' || !inputs.new_only }}
80
- run : just craft-conda "$PACKAGE" --pdfium-ver "$PDFIUM_VER"
81
- env :
82
- PACKAGE : ${{ inputs.package }}
83
- PDFIUM_VER : ${{ inputs.pdfium_ver }}
84
-
85
- - name : Build package (new only)
86
- if : ${{ inputs.package == 'raw' && inputs.new_only }}
87
- run : just craft-conda "$PACKAGE" --pdfium-ver "$PDFIUM_VER" --new-only
77
+ run : just craft-conda "$PACKAGE" --pdfium-ver "$PDFIUM_VER" $MAYBE_NEW_ONLY
88
78
env :
89
79
PACKAGE : ${{ inputs.package }}
90
80
PDFIUM_VER : ${{ inputs.pdfium_ver }}
81
+ MAYBE_NEW_ONLY : ${{ inputs.package == 'raw' && inputs.new_only && '--new-only' || '' }}
91
82
92
83
- name : Upload artifact
93
84
uses : actions/upload-artifact@v4
@@ -157,7 +148,7 @@ jobs:
157
148
158
149
steps :
159
150
160
- # FIXME custom channels probably not necessary here
151
+ # NOTE custom channels may not be actually necessary here
161
152
- name : Miniconda setup
162
153
uses : conda-incubator/setup-miniconda@v3
163
154
with :
You can’t perform that action at this time.
0 commit comments