@@ -14,11 +14,10 @@ jobs:
1414 image : danielflook/python-minifier-build:python3.13-2024-09-15
1515 steps :
1616 - name : Checkout
17- uses : actions/checkout@v4
17+ uses : actions/checkout@v4.2.2
1818 with :
1919 fetch-depth : 1
20- fetch-tags : ' true'
21- show-progress : ' false'
20+ show-progress : false
2221
2322 - name : Set version statically
2423 run : |
@@ -37,14 +36,14 @@ jobs:
3736 echo "wheel=$(find dist -name '*-py3-*.whl' -printf "%f\n")" >> "$GITHUB_OUTPUT"
3837
3938 - name : Upload sdist artifact
40- uses : actions/upload-artifact@v4
39+ uses : actions/upload-artifact@v4.4.3
4140 with :
4241 name : dist-sdist
4342 path : dist/${{ steps.package.outputs.sdist }}
4443 if-no-files-found : error
4544
4645 - name : Upload Python 3 wheel artifact
47- uses : actions/upload-artifact@v4
46+ uses : actions/upload-artifact@v4.4.3
4847 with :
4948 name : dist-py3-wheel
5049 path : dist/${{ steps.package.outputs.wheel }}
@@ -60,21 +59,23 @@ jobs:
6059 image : danielflook/python-minifier-build:python2.7-2024-09-15
6160 steps :
6261 - name : Download source distribution artifact
63- uses : actions/download-artifact@v4
62+ uses : actions/download-artifact@v4.1.8
6463 with :
6564 name : dist-sdist
6665 path : dist/
6766
6867 - name : Build Python 2 wheel
6968 id : package
69+ env :
70+ PYTHON3_SDIST : ${{ needs.package_python3.outputs.sdist }}
7071 run : |
7172 dnf install -y findutils
7273 pip install --upgrade wheel
73- pip wheel dist/${{ needs.package_python3.outputs.sdist }} -w dist
74+ pip wheel " dist/$PYTHON3_SDIST" -w dist
7475 echo "wheel=$(find dist -name '*-py2-*.whl' -printf "%f\n")" >> "$GITHUB_OUTPUT"
7576
7677 - name : Upload Python 2 wheel artifact
77- uses : actions/upload-artifact@v4
78+ uses : actions/upload-artifact@v4.4.3
7879 with :
7980 name : dist-py2-wheel
8081 path : dist/${{ steps.package.outputs.wheel }}
@@ -87,22 +88,25 @@ jobs:
8788 container :
8889 image : danielflook/python-minifier-build:python3.13-2024-09-15
8990 steps :
90- - uses : actions/download-artifact@v4
91+ - uses : actions/download-artifact@v4.1.8
9192 with :
9293 name : dist-sdist
9394 path : dist/
9495
9596 - name : Install package
97+ env :
98+ PYTHON3_SDIST : ${{ needs.package_python3.outputs.sdist }}
9699 run : |
97- pip3 install dist/${{needs.package_python3.outputs.sdist}}
100+ pip3 install " dist/$PYTHON3_SDIST"
98101 pyminify --version
99102
100103 - name : Checkout
101- uses : actions/checkout@v4
104+ uses : actions/checkout@v4.2.2
102105 with :
103106 fetch-depth : 1
104- fetch-tags : ' true'
105- show-progress : ' false'
107+ fetch-tags : true
108+ show-progress : false
109+ persist-credentials : false
106110
107111 - name : Build documentation
108112 run : |
@@ -120,18 +124,19 @@ jobs:
120124 package_type : [sdist, wheel]
121125 steps :
122126 - name : Checkout
123- uses : actions/checkout@v4
127+ uses : actions/checkout@v4.2.2
124128 with :
125129 fetch-depth : 1
126- fetch-tags : ' true'
127- show-progress : ' false'
130+ fetch-tags : true
131+ show-progress : false
132+ persist-credentials : false
128133
129134 - name : Download distribution artifacts
130- uses : actions/download-artifact@v4
135+ uses : actions/download-artifact@v4.1.8
131136 with :
132137 pattern : dist-*
133138 path : dist/
134- merge-multiple : ' true'
139+ merge-multiple : true
135140
136141 - name : Test
137142 uses : ./.github/actions/run-in-container
@@ -165,26 +170,30 @@ jobs:
165170 image : danielflook/python-minifier-build:python3.13-2024-09-15
166171 steps :
167172 - name : Download distribution artifacts
168- uses : actions/download-artifact@v4
173+ uses : actions/download-artifact@v4.1.8
169174 with :
170175 pattern : dist-*
171176 path : dist/
172- merge-multiple : ' true'
177+ merge-multiple : true
173178
174179 - name : Install package
180+ env :
181+ PYTHON3_SDIST : ${{ needs.package_python3.outputs.sdist }}
182+ PYTHON3_WHEEL : ${{ needs.package_python3.outputs.wheel }}
175183 run : |
176184 if [[ "${{ matrix.package_type }}" == "sdist" ]]; then
177- pip3.13 install dist/${{needs.package_python3.outputs.sdist}}
185+ pip3.13 install " dist/$PYTHON3_SDIST"
178186 else
179- pip3.13 install dist/${{needs.package_python3.outputs.wheel}}
187+ pip3.13 install " dist/$PYTHON3_WHEEL"
180188 fi
181189
182190 - name : Checkout
183- uses : actions/checkout@v4
191+ uses : actions/checkout@v4.2.2
184192 with :
185193 fetch-depth : 1
186- fetch-tags : ' true'
187- show-progress : ' false'
194+ fetch-tags : true
195+ show-progress : false
196+ persist-credentials : false
188197
189198 - name : Test typing
190199 run : |
0 commit comments