File tree Expand file tree Collapse file tree 5 files changed +27
-5841
lines changed Expand file tree Collapse file tree 5 files changed +27
-5841
lines changed Original file line number Diff line number Diff line change @@ -9,53 +9,18 @@ name: Create Release And Upload assets
9
9
jobs :
10
10
create-realese :
11
11
name : Create Release
12
- runs-on : ubuntu-latest
13
- outputs :
14
- upload_url : ${{ steps.create_release.outputs.upload_url }}
12
+ runs-on : macos-latest
15
13
steps :
16
- - name : Install Dependencies
17
- run : |
18
- sudo dpkg --add-architecture i386
19
- sudo apt-get update
20
- sudo apt-get install -y build-essential wine wine32
21
-
22
- - name : Checkout code
23
- uses : actions/checkout@v4
24
-
25
- - name : Get version
26
- id : get_version
27
- run : |
28
- TAG=$(basename ${GITHUB_REF})
29
- echo "TAG=${TAG}" >> $GITHUB_OUTPUT
30
-
31
- - name : Create Release
32
- id : create_release
33
- uses : release-drafter/release-drafter@v6
34
- env :
35
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
36
- with :
37
- config-name : release-config.yml
38
- version : ${{ steps.get_version.outputs.TAG }}
39
- tag : ${{ steps.get_version.outputs.TAG }}
40
-
14
+ - uses : actions/checkout@v4
41
15
- uses : actions/setup-node@v4
42
16
with :
43
17
node-version : ' 20'
44
18
cache : ' yarn'
45
19
46
20
- name : Build Binary
47
21
run : |
48
- mkdir -p release
49
22
yarn install
50
23
yarn build
51
24
ls -al release/
52
-
53
- - name : Release Upload Assets
54
- uses : softprops/action-gh-release@v2
55
- if : startsWith(github.ref, 'refs/tags/')
56
- with :
57
- draft : true
58
- files : |
59
- release/*
60
25
env :
61
26
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " video-player" ,
3
3
"private" : true ,
4
- "version" : " 0.1.10 " ,
4
+ "version" : " 0.2.0 " ,
5
5
"type" : " module" ,
6
6
"main" : " dist-electron/main.js" ,
7
7
"scripts" : {
8
8
"dev" : " vite" ,
9
- "build" : " vite build && electron-builder --mac --win --linux " ,
9
+ "build" : " vite build && electron-builder --linux --mac --win " ,
10
10
"preview" : " vite preview"
11
11
},
12
12
"build" : {
38
38
"mac" : {
39
39
"icon" : " assets/player.icns" ,
40
40
"identity" : null ,
41
- "target" : [
42
- " dmg" ,
43
- " zip"
44
- ]
41
+ "target" : {
42
+ "target" : " default" ,
43
+ "arch" : [
44
+ " arm64" ,
45
+ " x64"
46
+ ]
47
+ }
45
48
},
46
49
"win" : {
47
50
"icon" : " assets/icon.ico" ,
48
- "target" : [
49
- {
50
- "target " : " nsis " ,
51
- "arch" : [
52
- " ia32 "
53
- ]
54
- }
55
- ]
51
+ "target" : {
52
+ "target" : " nsis " ,
53
+ "arch " : [
54
+ " ia32 " ,
55
+ " x64 "
56
+ ]
57
+ },
58
+ "artifactName" : " ${productName}-${version}-${arch}.${ext} "
56
59
},
57
60
"linux" : {
58
- "icon" : " assets" ,
59
- "target" : [
60
- " zip"
61
- ]
61
+ "target" : {
62
+ "target" : " AppImage" ,
63
+ "arch" : [
64
+ " x64" ,
65
+ " arm64"
66
+ ]
67
+ },
68
+ "category" : " Tool"
62
69
}
63
70
},
64
71
"dependencies" : {
You can’t perform that action at this time.
0 commit comments