@@ -28,13 +28,17 @@ jobs:
28
28
tag_name : v${{ steps.read-version.outputs.version_full }}
29
29
version_commit : ${{ steps.version_commit.outputs.commit_long_sha }}
30
30
pushed : ${{ steps.version_commit.outputs.pushed }}
31
+ tagged : ${{ steps.version_commit.outputs.tagged }}
31
32
tag_pushed : ${{ steps.version_commit.outputs.tag_pushed }}
32
33
if : github.event_name != 'schedule' || (github.event_name == 'schedule' && github.repository == 'quarto-dev/quarto-cli')
33
34
steps :
34
35
- uses : actions/checkout@v4
35
36
with :
36
37
fetch-depth : 0
37
38
39
+ - name : Prevent Re-run
40
+ uses : ./.github/workflows/actions/prevent-rerun
41
+
38
42
# we _also_ need npm, specifically for webui/preview
39
43
- uses : actions/setup-node@v4
40
44
with :
99
103
with :
100
104
ref : ${{ needs.configure.outputs.version_commit }}
101
105
106
+ - name : Prevent Re-run
107
+ uses : ./.github/workflows/actions/prevent-rerun
108
+
102
109
- name : Make Tarball
103
110
run : |
104
111
tar --owner=root --group=root -zcvf quarto-${{needs.configure.outputs.version}}.tar.gz *
@@ -117,6 +124,9 @@ jobs:
117
124
with :
118
125
ref : ${{ needs.configure.outputs.version_commit }}
119
126
127
+ - name : Prevent Re-run
128
+ uses : ./.github/workflows/actions/prevent-rerun
129
+
120
130
- name : Configure
121
131
run : |
122
132
./configure.sh
@@ -150,6 +160,9 @@ jobs:
150
160
with :
151
161
ref : ${{ needs.configure.outputs.version_commit }}
152
162
163
+ - name : Prevent Re-run
164
+ uses : ./.github/workflows/actions/prevent-rerun
165
+
153
166
- name : Configure
154
167
run : |
155
168
./configure.sh
@@ -183,6 +196,9 @@ jobs:
183
196
with :
184
197
ref : ${{ needs.configure.outputs.version_commit }}
185
198
199
+ - name : Prevent Re-run
200
+ uses : ./.github/workflows/actions/prevent-rerun
201
+
186
202
- name : Configure
187
203
run : |
188
204
./configure.sh
@@ -227,6 +243,9 @@ jobs:
227
243
with :
228
244
ref : ${{ needs.configure.outputs.version_commit }}
229
245
246
+ - name : Prevent Re-run
247
+ uses : ./.github/workflows/actions/prevent-rerun
248
+
230
249
- name : Configure
231
250
run : |
232
251
./configure.sh
@@ -257,6 +276,9 @@ jobs:
257
276
with :
258
277
ref : ${{ needs.configure.outputs.version_commit }}
259
278
279
+ - name : Prevent Re-run
280
+ uses : ./.github/workflows/actions/prevent-rerun
281
+
260
282
- name : Configure
261
283
run : |
262
284
./configure.sh
@@ -283,6 +305,15 @@ jobs:
283
305
runs-on : ubuntu-latest
284
306
needs : [configure, make-tarball]
285
307
steps :
308
+ - uses : actions/checkout@v4
309
+ with :
310
+ ref : ${{ needs.configure.outputs.version_commit }}
311
+ sparse-checkout : |
312
+ .github
313
+
314
+ - name : Prevent Re-run
315
+ uses : ./.github/workflows/actions/prevent-rerun
316
+
286
317
- uses : actions/download-artifact@v4
287
318
with :
288
319
name : Deb Zip
@@ -303,15 +334,17 @@ jobs:
303
334
needs : [configure]
304
335
305
336
steps :
306
- - name : Configure Rust Tools
307
- run : |
308
- rustup.exe toolchain install 1.63.0 --component rustfmt --component clippy --no-self-update
309
- rustup.exe default 1.63.0
310
-
311
337
- uses : actions/checkout@v4
312
338
with :
313
339
ref : ${{ needs.configure.outputs.version_commit }}
314
340
341
+ - name : Prevent Re-run
342
+ uses : ./.github/workflows/actions/prevent-rerun
343
+
344
+ - name : Configure Rust Tools
345
+ run : |
346
+ rustup.exe toolchain install 1.63.0 --component rustfmt --component clippy --no-self-update
347
+ rustup.exe default 1.63.0
315
348
- name : Configure
316
349
run : |
317
350
.\configure.cmd
@@ -383,6 +416,15 @@ jobs:
383
416
runs-on : windows-latest
384
417
needs : [configure, make-installer-win]
385
418
steps :
419
+ - uses : actions/checkout@v4
420
+ with :
421
+ ref : ${{ needs.configure.outputs.version_commit }}
422
+ sparse-checkout : |
423
+ .github
424
+
425
+ - name : Prevent Re-run
426
+ uses : ./.github/workflows/actions/prevent-rerun
427
+
386
428
- uses : actions/download-artifact@v4
387
429
with :
388
430
name : Windows Zip
@@ -403,6 +445,9 @@ jobs:
403
445
with :
404
446
ref : ${{ needs.configure.outputs.version_commit }}
405
447
448
+ - name : Prevent Re-run
449
+ uses : ./.github/workflows/actions/prevent-rerun
450
+
406
451
- name : Configure
407
452
run : |
408
453
./configure.sh
@@ -464,6 +509,15 @@ jobs:
464
509
runs-on : macos-latest
465
510
needs : [configure, make-installer-mac]
466
511
steps :
512
+ - uses : actions/checkout@v4
513
+ with :
514
+ ref : ${{ needs.configure.outputs.version_commit }}
515
+ sparse-checkout : |
516
+ .github
517
+
518
+ - name : Prevent Re-run
519
+ uses : ./.github/workflows/actions/prevent-rerun
520
+
467
521
- uses : actions/download-artifact@v4
468
522
with :
469
523
name : Mac Zip
@@ -499,6 +553,16 @@ jobs:
499
553
]
500
554
501
555
steps :
556
+ - uses : actions/checkout@v4
557
+ with :
558
+ ref : ${{ needs.configure.outputs.version_commit }}
559
+ path : quarto-cli
560
+ sparse-checkout : |
561
+ .github
562
+
563
+ - name : Prevent Re-run
564
+ uses : ./quarto-cli/.github/workflows/actions/prevent-rerun
565
+
502
566
- name : Download Artifacts
503
567
uses : actions/download-artifact@v4
504
568
@@ -601,6 +665,9 @@ jobs:
601
665
steps :
602
666
- uses : actions/checkout@v4
603
667
668
+ - name : Prevent Re-run
669
+ uses : ./.github/workflows/actions/prevent-rerun
670
+
604
671
- name : Revert commit of version.txt
605
672
if : ${{ needs.configure.outputs.pushed }}
606
673
run : |
@@ -614,7 +681,7 @@ jobs:
614
681
git push origin $GITHUB_REF_NAME
615
682
616
683
- name : Deleted created tag
617
- if : ${{ needs.configure.outputs.tag_pushed }}
684
+ if : ${{ needs.configure.outputs.tagged && needs.configure.outputs. tag_pushed }}
618
685
run : |
619
686
git push --delete origin ${{ needs.configure.outputs.tag_name }}
620
687
@@ -623,10 +690,18 @@ jobs:
623
690
runs-on : ubuntu-latest
624
691
needs : [configure, publish-release]
625
692
steps :
693
+ - uses : actions/checkout@v4
694
+ with :
695
+ sparse-checkout : |
696
+ .github
697
+
698
+ - name : Prevent Re-run
699
+ uses : ./.github/workflows/actions/prevent-rerun
700
+
626
701
- name : Download Artifacts
627
702
uses : actions/download-artifact@v4
628
703
629
- - uses : quarto-dev/quarto-cli/ .github/actions/docker@main
704
+ - uses : ./ .github/actions/docker
630
705
with :
631
706
source : ./Deb Installer/quarto-${{needs.configure.outputs.version}}-linux-amd64.deb
632
707
version : ${{needs.configure.outputs.version}}
0 commit comments