28
28
- prbot-test
29
29
- product
30
30
- remote-test
31
- - repository
32
31
- taglab
33
32
- test
34
33
- win
65
64
prbot-test : ${{ steps.deplo-main.outputs.prbot-test }}
66
65
product : ${{ steps.deplo-main.outputs.product }}
67
66
remote-test : ${{ steps.deplo-main.outputs.remote-test }}
68
- repository : ${{ steps.deplo-main.outputs.repository }}
69
67
taglab : ${{ steps.deplo-main.outputs.taglab }}
70
68
test : ${{ steps.deplo-main.outputs.test }}
71
69
win : ${{ steps.deplo-main.outputs.win }}
@@ -103,8 +101,8 @@ jobs:
103
101
sudo : true
104
102
deplo-halt :
105
103
name : Cleanup CI
106
- if : ${{ !failure() && (needs.base.outputs.need-cleanup || needs.builder.outputs.need-cleanup || needs.config.outputs.need-cleanup || needs.dispatched.outputs.need-cleanup || needs.latest.outputs.need-cleanup || needs.mac.outputs.need-cleanup || needs.module_test.outputs.need-cleanup || needs.prbot-test.outputs.need-cleanup || needs.product.outputs.need-cleanup || needs.remote-test.outputs.need-cleanup || needs.repository.outputs.need-cleanup || needs. taglab.outputs.need-cleanup || needs.test.outputs.need-cleanup || needs.win.outputs.need-cleanup) }}
107
- needs : ["deplo-main","base","builder","config","dispatched","latest","mac","module_test","prbot-test","product","remote-test","repository"," taglab","test","win"]
104
+ if : ${{ !failure() && (needs.base.outputs.need-cleanup || needs.builder.outputs.need-cleanup || needs.config.outputs.need-cleanup || needs.dispatched.outputs.need-cleanup || needs.latest.outputs.need-cleanup || needs.mac.outputs.need-cleanup || needs.module_test.outputs.need-cleanup || needs.prbot-test.outputs.need-cleanup || needs.product.outputs.need-cleanup || needs.remote-test.outputs.need-cleanup || needs.taglab.outputs.need-cleanup || needs.test.outputs.need-cleanup || needs.win.outputs.need-cleanup) }}
105
+ needs : ["deplo-main","base","builder","config","dispatched","latest","mac","module_test","prbot-test","product","remote-test","taglab","test","win"]
108
106
runs-on : ubuntu-latest
109
107
env :
110
108
DEPLO_JOB_SYSTEM_OUTPUT_BASE : ${{ needs.base.outputs.system }}
@@ -117,7 +115,6 @@ jobs:
117
115
DEPLO_JOB_SYSTEM_OUTPUT_PRBOT_TEST : ${{ needs.prbot-test.outputs.system }}
118
116
DEPLO_JOB_SYSTEM_OUTPUT_PRODUCT : ${{ needs.product.outputs.system }}
119
117
DEPLO_JOB_SYSTEM_OUTPUT_REMOTE_TEST : ${{ needs.remote-test.outputs.system }}
120
- DEPLO_JOB_SYSTEM_OUTPUT_REPOSITORY : ${{ needs.repository.outputs.system }}
121
118
DEPLO_JOB_SYSTEM_OUTPUT_TAGLAB : ${{ needs.taglab.outputs.system }}
122
119
DEPLO_JOB_SYSTEM_OUTPUT_TEST : ${{ needs.test.outputs.system }}
123
120
DEPLO_JOB_SYSTEM_OUTPUT_WIN : ${{ needs.win.outputs.system }}
@@ -622,51 +619,6 @@ jobs:
622
619
uses : mxschmitt/action-tmate@v3
623
620
with :
624
621
sudo : true
625
- repository :
626
- needs : [deplo-main]
627
- if : ${{ needs.deplo-main.outputs.repository && !failure() }}
628
- name : Running job repository
629
- runs-on : ubuntu-latest
630
-
631
-
632
-
633
- outputs :
634
- need-cleanup : ${{ steps.deplo-job-repository.outputs.need-cleanup }}
635
- system : ${{ steps.deplo-job-repository.outputs.system }}
636
- user : ${{ steps.deplo-job-repository.outputs.user }}
637
- steps :
638
- - name : Fetch deplo cli
639
- run : |
640
- curl -L https://github.com/suntomi/deplo/releases/download/nightly/deplo-Linux-$(uname -m) -o /usr/local/bin/deplo
641
- chmod +x /usr/local/bin/deplo
642
- - name : Fetch repository cache
643
- id : fetch-repository-cache
644
- uses : actions/cache@v4
645
- with :
646
- path : .git
647
- key : deplo-git-v1-40BFB0C55D506BC4-${{ github.sha }}
648
- restore-keys :
649
- deplo-git-v1-40BFB0C55D506BC4-
650
- - name : Checkout
651
- if : steps.fetch-repository-cache.outputs.cache-hit != 'true'
652
- uses : actions/checkout@v5
653
- with :
654
- fetch-depth : 0
655
- submodules : true
656
- token : ${{ secrets.SUNTOMI_VCS_ACCOUNT_KEY }}
657
- - name : Restore repository from cache
658
- if : steps.fetch-repository-cache.outputs.cache-hit == 'true'
659
- run : git reset --hard HEAD && git submodule update --init --recursive && deplo -v=1 ci restore-cache --submodules
660
- shell : bash
661
-
662
- - name : repository
663
- id : deplo-job-repository
664
- run : deplo run repository
665
- - name : Setup ssh session to debug
666
- if : always() && (env.DEPLO_CI_RUN_DEBUGGER != '')
667
- uses : mxschmitt/action-tmate@v3
668
- with :
669
- sudo : true
670
622
taglab :
671
623
needs : [deplo-main]
672
624
if : ${{ needs.deplo-main.outputs.taglab && !failure() }}
0 commit comments