File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -658,8 +658,18 @@ jobs:
658
658
- { target: aarch64-unknown-linux-gnu, arch: aarch64 }
659
659
steps :
660
660
- name : Checkout source code
661
+ if : ${{ env.VERSION != 'master' }}
662
+ uses : actions/checkout@v4
663
+ with :
664
+ repository : rustdesk/rustdesk
665
+ ref : refs/tags/${{ env.VERSION }}
666
+ submodules : recursive
667
+
668
+ - name : Checkout source code
669
+ if : ${{ env.VERSION == 'master' }}
661
670
uses : actions/checkout@v4
662
671
with :
672
+ repository : rustdesk/rustdesk
663
673
submodules : recursive
664
674
665
675
- name : Download Binary
@@ -731,8 +741,18 @@ jobs:
731
741
}
732
742
steps :
733
743
- name : Checkout source code
744
+ if : ${{ env.VERSION != 'master' }}
745
+ uses : actions/checkout@v4
746
+ with :
747
+ repository : rustdesk/rustdesk
748
+ ref : refs/tags/${{ env.VERSION }}
749
+ submodules : recursive
750
+
751
+ - name : Checkout source code
752
+ if : ${{ env.VERSION == 'master' }}
734
753
uses : actions/checkout@v4
735
754
with :
755
+ repository : rustdesk/rustdesk
736
756
submodules : recursive
737
757
738
758
- name : Download Binary
You can’t perform that action at this time.
0 commit comments