34
34
35
35
steps :
36
36
- name : Checkout code
37
- uses : actions/checkout@v4
37
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
38
38
with :
39
39
fetch-depth : 0
40
40
45
45
run : python -m build
46
46
47
47
- name : Upload artifacts
48
- uses : actions/upload-artifact@v4
48
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
49
49
with :
50
50
name : python-artifacts
51
51
path : ddev/dist/*
96
96
97
97
steps :
98
98
- name : Checkout code
99
- uses : actions/checkout@v4
99
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
100
100
with :
101
101
fetch-depth : 0
102
102
@@ -108,7 +108,7 @@ jobs:
108
108
tar --strip-components=1 -xzf - -C $PYAPP_REPO
109
109
110
110
- name : Set up Python ${{ env.PYTHON_VERSION }}
111
- uses : actions/setup-python@v5
111
+ uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
112
112
with :
113
113
python-version : ${{ env.PYTHON_VERSION }}
114
114
@@ -119,13 +119,13 @@ jobs:
119
119
run : pip install -e . --no-deps
120
120
121
121
- name : Install Rust toolchain
122
- uses : dtolnay/rust-toolchain@stable
122
+ uses : dtolnay/rust-toolchain@b56f20b9f22943bc548a7945b40601028db81a31 # 1.86.0 Latest rust stable version as of 2025-05-08 (https://forge.rust-lang.org/)
123
123
with :
124
124
targets : ${{ matrix.job.target }}
125
125
126
126
- name : Set up cross compiling
127
127
if : matrix.job.cross
128
- uses : taiki-e/install-action@v2
128
+ uses : taiki-e/install-action@97a83ae1347bc407f550a16fb0694d6f446eec88 # v2.50.9
129
129
with :
130
130
tool : cross
131
131
@@ -142,7 +142,7 @@ jobs:
142
142
143
143
- name : Download Python artifacts
144
144
if : ${{ !startsWith(github.event.ref, 'refs/tags') }}
145
- uses : actions/download-artifact@v4
145
+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
146
146
with :
147
147
name : python-artifacts
148
148
path : ddev/dist
@@ -214,7 +214,7 @@ jobs:
214
214
215
215
- name : Upload staged managed archive
216
216
if : runner.os != 'Linux'
217
- uses : actions/upload-artifact@v4
217
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
218
218
with :
219
219
name : staged-managed-${{ runner.os }}-${{ matrix.job.target }}
220
220
path : ddev/packaging/*
@@ -235,7 +235,7 @@ jobs:
235
235
236
236
- name : Upload staged standalone archive
237
237
if : runner.os != 'Linux'
238
- uses : actions/upload-artifact@v4
238
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
239
239
with :
240
240
name : staged-standalone-${{ runner.os }}-${{ matrix.job.target }}
241
241
path : ddev/packaging/*
@@ -245,7 +245,7 @@ jobs:
245
245
# can upload directly at this point
246
246
- name : Upload standalone archive
247
247
if : runner.os == 'Linux'
248
- uses : actions/upload-artifact@v4
248
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
249
249
with :
250
250
name : standalone-${{ matrix.job.target }}
251
251
path : ddev/packaging/*
@@ -262,10 +262,10 @@ jobs:
262
262
263
263
steps :
264
264
- name : Checkout code
265
- uses : actions/checkout@v4
265
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
266
266
267
267
- name : Set up Python ${{ env.PYTHON_VERSION }}
268
- uses : actions/setup-python@v5
268
+ uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
269
269
with :
270
270
python-version : ${{ env.PYTHON_VERSION }}
271
271
@@ -304,7 +304,7 @@ jobs:
304
304
OUTER
305
305
306
306
- name : Download staged standalone binaries
307
- uses : actions/download-artifact@v4
307
+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
308
308
with :
309
309
pattern : staged-standalone-${{ runner.os }}-*
310
310
path : ddev/archives
@@ -317,7 +317,7 @@ jobs:
317
317
run : ${{ steps.script-prepare.outputs.script }}
318
318
319
319
- name : Upload standalone binaries
320
- uses : actions/upload-artifact@v4
320
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
321
321
with :
322
322
name : standalone-${{ matrix.job.target }}
323
323
path : ddev/archives/*
@@ -327,7 +327,7 @@ jobs:
327
327
run : rm -rf archives bin targets
328
328
329
329
- name : Download staged managed binaries
330
- uses : actions/download-artifact@v4
330
+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
331
331
with :
332
332
pattern : staged-managed-${{ runner.os }}-*
333
333
path : ddev/archives
@@ -351,7 +351,7 @@ jobs:
351
351
mv build/*/release/*/*.{exe,msi} installers
352
352
353
353
- name : Upload installers
354
- uses : actions/upload-artifact@v4
354
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
355
355
with :
356
356
name : installers-${{ runner.os }}
357
357
path : ddev/installers/*
@@ -368,10 +368,10 @@ jobs:
368
368
369
369
steps :
370
370
- name : Checkout code
371
- uses : actions/checkout@v4
371
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
372
372
373
373
- name : Set up Python ${{ env.PYTHON_VERSION }}
374
- uses : actions/setup-python@v5
374
+ uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
375
375
with :
376
376
python-version : ${{ env.PYTHON_VERSION }}
377
377
@@ -454,7 +454,7 @@ jobs:
454
454
OUTER
455
455
456
456
- name : Download staged standalone binaries
457
- uses : actions/download-artifact@v4
457
+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
458
458
with :
459
459
pattern : staged-standalone-${{ runner.os }}-*
460
460
path : ddev/archives
@@ -479,7 +479,7 @@ jobs:
479
479
done
480
480
481
481
- name : Upload standalone binaries
482
- uses : actions/upload-artifact@v4
482
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
483
483
with :
484
484
name : standalone-${{ runner.os }}
485
485
path : ddev/archives/*
@@ -489,7 +489,7 @@ jobs:
489
489
run : rm -rf archives bin notarize-bin
490
490
491
491
- name : Download staged managed binaries
492
- uses : actions/download-artifact@v4
492
+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
493
493
with :
494
494
pattern : staged-managed-${{ runner.os }}-*
495
495
path : ddev/archives
@@ -559,7 +559,7 @@ jobs:
559
559
"signed/${{ steps.pkg.outputs.path }}"
560
560
561
561
- name : Upload installer
562
- uses : actions/upload-artifact@v4
562
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
563
563
with :
564
564
name : installers-${{ runner.os }}
565
565
path : ddev/signed/${{ steps.pkg.outputs.path }}
@@ -580,34 +580,34 @@ jobs:
580
580
581
581
steps :
582
582
- name : Download Python artifacts
583
- uses : actions/download-artifact@v4
583
+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
584
584
with :
585
585
name : python-artifacts
586
586
path : dist
587
587
588
588
- name : Download binaries
589
- uses : actions/download-artifact@v4
589
+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
590
590
with :
591
591
pattern : standalone*
592
592
path : archives
593
593
merge-multiple : true
594
594
595
595
- name : Download installers
596
- uses : actions/download-artifact@v4
596
+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
597
597
with :
598
598
pattern : installers-*
599
599
path : installers
600
600
merge-multiple : true
601
601
602
602
- name : Push Python artifacts to PyPI
603
- uses : pypa/gh-action-pypi-publish@release/v1
603
+ uses : pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
604
604
with :
605
605
skip-existing : true
606
606
user : __token__
607
607
password : ${{ secrets.PYPI_TOKEN_DDEV_2 }}
608
608
609
609
- name : Add assets to current release
610
- uses : softprops/action-gh-release@v2
610
+ uses : softprops/action-gh-release@da05d552573ad5aba039eaac05058a918a7bf631 # v2.2.2
611
611
with :
612
612
files : |-
613
613
archives/*
0 commit comments