@@ -2,7 +2,7 @@ name: Beta Release builds
2
2
3
3
on :
4
4
push :
5
- branches : [ ' main' ]
5
+ branches : [" main" ]
6
6
workflow_dispatch :
7
7
8
8
concurrency :
16
16
changelog :
17
17
strategy :
18
18
matrix :
19
- platform : [ ubuntu-latest ]
20
- go-version : [ ' 1.21' ]
19
+ platform : [ubuntu-latest]
20
+ go-version : [" 1.21" ]
21
21
name : Beta Release Changelog
22
22
runs-on : ${{ matrix.platform }}
23
23
steps :
@@ -65,17 +65,17 @@ jobs:
65
65
strategy :
66
66
matrix :
67
67
include :
68
- - target : ' !(*musl*|*windows-arm64*|*android*|*freebsd*)' # xgo
68
+ - target : " !(*musl*|*windows-arm64*|*android*|*freebsd*)" # xgo
69
69
hash : " md5"
70
- - target : ' linux-!(arm*)-musl*' # musl-not-arm
70
+ - target : " linux-!(arm*)-musl*" # musl-not-arm
71
71
hash : " md5-linux-musl"
72
- - target : ' linux-arm*-musl*' # musl-arm
72
+ - target : " linux-arm*-musl*" # musl-arm
73
73
hash : " md5-linux-musl-arm"
74
- - target : ' windows-arm64' # win-arm64
74
+ - target : " windows-arm64" # win-arm64
75
75
hash : " md5-windows-arm64"
76
- - target : ' android-*' # android
76
+ - target : " android-*" # android
77
77
hash : " md5-android"
78
- - target : ' freebsd-*' # freebsd
78
+ - target : " freebsd-*" # freebsd
79
79
hash : " md5-freebsd"
80
80
81
81
name : Beta Release
89
89
- name : Setup Go
90
90
uses : actions/setup-go@v5
91
91
with :
92
- go-version : ' 1.22'
92
+ go-version : " 1.22"
93
93
94
94
- name : Setup web
95
95
run : bash build.sh dev web
@@ -105,19 +105,19 @@ jobs:
105
105
output : openlist-$target$ext
106
106
musl-base-url : " https://github.com/OpenListTeam/musl-compilers/releases/latest/download/"
107
107
x-flags : |
108
- github.com/OpenListTeam/OpenList/internal/conf.BuiltAt=$built_at
109
- github.com/OpenListTeam/OpenList/internal/conf.GitAuthor=OpenList
110
- github.com/OpenListTeam/OpenList/internal/conf.GitCommit=$git_commit
111
- github.com/OpenListTeam/OpenList/internal/conf.Version=$tag
112
- github.com/OpenListTeam/OpenList/internal/conf.WebVersion=dev
108
+ github.com/OpenListTeam/OpenList/v4/ internal/conf.BuiltAt=$built_at
109
+ github.com/OpenListTeam/OpenList/v4/ internal/conf.GitAuthor=OpenList
110
+ github.com/OpenListTeam/OpenList/v4/ internal/conf.GitCommit=$git_commit
111
+ github.com/OpenListTeam/OpenList/v4/ internal/conf.Version=$tag
112
+ github.com/OpenListTeam/OpenList/v4/ internal/conf.WebVersion=dev
113
113
114
114
- name : Compress
115
115
run : |
116
116
bash build.sh zip ${{ matrix.hash }}
117
117
env :
118
118
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
119
119
120
- # See above
120
+ # See above
121
121
- name : Upload assets to beta release
122
122
uses : softprops/action-gh-release@v2
123
123
with :
0 commit comments