File tree 3 files changed +9
-17
lines changed
3 files changed +9
-17
lines changed Original file line number Diff line number Diff line change 55
55
- name : Calculate version
56
56
if : github.event_name != 'workflow_dispatch'
57
57
run : |-
58
- go run -v ./cmd/internal/read_tag --nightly
58
+ go run -v ./cmd/internal/read_tag --ci -- nightly
59
59
- name : Set outputs
60
60
id : outputs
61
61
run : |-
@@ -316,9 +316,9 @@ jobs:
316
316
LOCAL_PROPERTIES : ${{ secrets.LOCAL_PROPERTIES }}
317
317
- name : Prepare upload
318
318
run : |-
319
- mkdir -p dist/release
320
- cp clients/android/app/build/outputs/apk/play/release/*.apk dist/release
321
- cp clients/android/app/build/outputs/apk/other/release/*-universal.apk dist/release
319
+ mkdir -p dist
320
+ cp clients/android/app/build/outputs/apk/play/release/*.apk dist
321
+ cp clients/android/app/build/outputs/apk/other/release/*-universal.apk dist
322
322
- name : Upload artifact
323
323
uses : actions/upload-artifact@v4
324
324
with :
@@ -566,9 +566,9 @@ jobs:
566
566
zip -r SFM.dSYMs.zip dSYMs
567
567
popd
568
568
569
- mkdir -p dist/release
570
- cp clients/apple/SFM.dmg "dist/release/ SFM-${VERSION}-universal.dmg"
571
- cp "clients/apple/${{ matrix.archive }}/SFM.dSYMs.zip" "dist/release/ SFM-${VERSION}-universal.dSYMs.zip"
569
+ mkdir -p dist
570
+ cp clients/apple/SFM.dmg "dist/SFM-${VERSION}-universal.dmg"
571
+ cp "clients/apple/${{ matrix.archive }}/SFM.dSYMs.zip" "dist/SFM-${VERSION}-universal.dSYMs.zip"
572
572
- name : Upload image
573
573
if : matrix.if && matrix.name == 'macOS-standalone' && github.event_name == 'workflow_dispatch'
574
574
uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change 34
34
- name : Calculate version
35
35
if : github.event_name != 'workflow_dispatch'
36
36
run : |-
37
- go run -v ./cmd/internal/read_tag --nightly
38
- - name : Update version
39
- if : github.event_name == 'workflow_dispatch'
40
- run : |-
41
- go run -v ./cmd/internal/read_tag --nightly
42
- - name : Update nightly version
43
- if : github.event_name != 'workflow_dispatch'
44
- run : |-
45
- go run -v ./cmd/internal/read_tag --nightly
37
+ go run -v ./cmd/internal/read_tag --ci --nightly
46
38
- name : Set outputs
47
39
id : outputs
48
40
run : |-
Original file line number Diff line number Diff line change @@ -2,10 +2,10 @@ package main
2
2
3
3
import (
4
4
"flag"
5
- "github.com/sagernet/sing-box/common/badversion"
6
5
"os"
7
6
8
7
"github.com/sagernet/sing-box/cmd/internal/build_shared"
8
+ "github.com/sagernet/sing-box/common/badversion"
9
9
"github.com/sagernet/sing-box/log"
10
10
)
11
11
You can’t perform that action at this time.
0 commit comments