@@ -41,11 +41,11 @@ jobs:
4141 version : ${{ steps.outputs.outputs.version }}
4242 steps :
4343 - name : Checkout
44- uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
44+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
4545 with :
4646 fetch-depth : 0
4747 - name : Setup Go
48- uses : actions/setup-go@v5
48+ uses : actions/setup-go@v6
4949 with :
5050 go-version : ~1.25.8
5151 - name : Check input version
@@ -117,18 +117,18 @@ jobs:
117117 - { os: android, arch: "386", ndk: "i686-linux-android23" }
118118 steps :
119119 - name : Checkout
120- uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
120+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
121121 with :
122122 fetch-depth : 0
123123 - name : Setup Go
124124 if : ${{ ! matrix.legacy_win7 }}
125- uses : actions/setup-go@v5
125+ uses : actions/setup-go@v6
126126 with :
127127 go-version : ~1.25.8
128128 - name : Cache Go for Windows 7
129129 if : matrix.legacy_win7
130130 id : cache-go-for-windows7
131- uses : actions/cache@v4
131+ uses : actions/cache@v5
132132 with :
133133 path : |
134134 ~/go/go_win7
@@ -170,7 +170,7 @@ jobs:
170170 - name : Cache Chromium toolchain
171171 if : matrix.naive
172172 id : cache-chromium-toolchain
173- uses : actions/cache@v4
173+ uses : actions/cache@v5
174174 with :
175175 path : |
176176 ~/cronet-go/naiveproxy/src/third_party/llvm-build/
@@ -440,7 +440,7 @@ jobs:
440440 - name : Cleanup
441441 run : rm -f dist/sing-box dist/libcronet.so
442442 - name : Upload artifact
443- uses : actions/upload-artifact@v4
443+ uses : actions/upload-artifact@v7
444444 with :
445445 name : binary-${{ matrix.os }}_${{ matrix.arch }}${{ matrix.goarm && format('v{0}', matrix.goarm) }}${{ matrix.go386 && format('_{0}', matrix.go386) }}${{ matrix.gomips && format('_{0}', matrix.gomips) }}${{ matrix.legacy_name && format('-legacy-{0}', matrix.legacy_name) }}${{ matrix.variant && format('-{0}', matrix.variant) }}
446446 path : " dist"
@@ -458,18 +458,18 @@ jobs:
458458 - { arch: amd64, legacy_osx: true, legacy_name: "macos-10.13" }
459459 steps :
460460 - name : Checkout
461- uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
461+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
462462 with :
463463 fetch-depth : 0
464464 - name : Setup Go
465465 if : ${{ ! matrix.legacy_osx }}
466- uses : actions/setup-go@v5
466+ uses : actions/setup-go@v6
467467 with :
468468 go-version : ^1.25.3
469469 - name : Cache Go for macOS 10.13
470470 if : matrix.legacy_osx
471471 id : cache-go-for-macos1013
472- uses : actions/cache@v4
472+ uses : actions/cache@v5
473473 with :
474474 path : |
475475 ~/go/go_osx
@@ -533,7 +533,7 @@ jobs:
533533 - name : Cleanup
534534 run : rm dist/sing-box
535535 - name : Upload artifact
536- uses : actions/upload-artifact@v4
536+ uses : actions/upload-artifact@v7
537537 with :
538538 name : binary-darwin_${{ matrix.arch }}${{ matrix.legacy_name && format('-legacy-{0}', matrix.legacy_name) }}
539539 path : " dist"
@@ -551,11 +551,11 @@ jobs:
551551 - { arch: arm64, naive: true }
552552 steps :
553553 - name : Checkout
554- uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
554+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
555555 with :
556556 fetch-depth : 0
557557 - name : Setup Go
558- uses : actions/setup-go@v5
558+ uses : actions/setup-go@v6
559559 with :
560560 go-version : ^1.25.4
561561 - name : Set tag
@@ -622,7 +622,7 @@ jobs:
622622 if : ${{ !matrix.naive }}
623623 run : Remove-Item dist/sing-box.exe
624624 - name : Upload artifact
625- uses : actions/upload-artifact@v4
625+ uses : actions/upload-artifact@v7
626626 with :
627627 name : binary-windows_${{ matrix.arch }}
628628 path : " dist"
@@ -634,12 +634,12 @@ jobs:
634634 - calculate_version
635635 steps :
636636 - name : Checkout
637- uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
637+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
638638 with :
639639 fetch-depth : 0
640640 submodules : ' recursive'
641641 - name : Setup Go
642- uses : actions/setup-go@v5
642+ uses : actions/setup-go@v6
643643 with :
644644 go-version : ~1.25.8
645645 - name : Setup Android NDK
@@ -674,7 +674,7 @@ jobs:
674674 cd clients/android
675675 git checkout dev
676676 - name : Gradle cache
677- uses : actions/cache@v4
677+ uses : actions/cache@v5
678678 with :
679679 path : ~/.gradle
680680 key : gradle-${{ hashFiles('**/*.gradle') }}
@@ -712,7 +712,7 @@ jobs:
712712 EOF
713713 cat dist/SFA-version-metadata.json
714714 - name : Upload artifact
715- uses : actions/upload-artifact@v4
715+ uses : actions/upload-artifact@v7
716716 with :
717717 name : binary-android-apks
718718 path : ' dist'
@@ -724,12 +724,12 @@ jobs:
724724 - calculate_version
725725 steps :
726726 - name : Checkout
727- uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
727+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
728728 with :
729729 fetch-depth : 0
730730 submodules : ' recursive'
731731 - name : Setup Go
732- uses : actions/setup-go@v5
732+ uses : actions/setup-go@v6
733733 with :
734734 go-version : ~1.25.8
735735 - name : Setup Android NDK
@@ -764,7 +764,7 @@ jobs:
764764 cd clients/android
765765 git checkout dev
766766 - name : Gradle cache
767- uses : actions/cache@v4
767+ uses : actions/cache@v5
768768 with :
769769 path : ~/.gradle
770770 key : gradle-${{ hashFiles('**/*.gradle') }}
@@ -822,13 +822,13 @@ jobs:
822822 steps :
823823 - name : Checkout
824824 if : matrix.if
825- uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
825+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
826826 with :
827827 fetch-depth : 0
828828 submodules : ' recursive'
829829 - name : Setup Go
830830 if : matrix.if
831- uses : actions/setup-go@v5
831+ uses : actions/setup-go@v6
832832 with :
833833 go-version : ~1.25.8
834834 - name : Set tag
@@ -959,7 +959,7 @@ jobs:
959959 cp "clients/apple/${{ matrix.archive }}/SFM.dSYMs.zip" "dist/SFM-${VERSION}-universal.dSYMs.zip"
960960 - name : Upload image
961961 if : matrix.if && matrix.name == 'macOS-standalone' && github.event_name == 'workflow_dispatch'
962- uses : actions/upload-artifact@v4
962+ uses : actions/upload-artifact@v7
963963 with :
964964 name : binary-macos-dmg
965965 path : ' dist'
@@ -976,11 +976,11 @@ jobs:
976976 - build_apple
977977 steps :
978978 - name : Checkout
979- uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
979+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
980980 with :
981981 fetch-depth : 0
982982 - name : Cache ghr
983- uses : actions/cache@v4
983+ uses : actions/cache@v5
984984 id : cache-ghr
985985 with :
986986 path : |
@@ -999,7 +999,7 @@ jobs:
999999 git tag v${{ needs.calculate_version.outputs.version }} -f
10001000 echo "VERSION=${{ needs.calculate_version.outputs.version }}" >> "$GITHUB_ENV"
10011001 - name : Download builds
1002- uses : actions/download-artifact@v5
1002+ uses : actions/download-artifact@v8
10031003 with :
10041004 path : dist
10051005 merge-multiple : true
0 commit comments