15
15
VERSION : ${{ github.event.inputs.version || (startsWith(github.ref, 'refs/tags/') && github.ref || '') }}
16
16
17
17
jobs :
18
- binding_arm7 :
19
- runs-on : macos-13
20
- steps :
21
- - uses : actions/checkout@v3
22
- - uses : actions/setup-go@v3
23
- with :
24
- go-version : ' ^1.21'
25
- - name : Build Go
26
- run : ./go.sh 1.14.15 openpgp
27
- - name : Build
28
- run : |
29
- export PATH="/tmp/go/bin:$PATH"
30
- make binding_ios_armv7
31
- - uses : actions/upload-artifact@v3
32
- with :
33
- name : output_binding_arm7
34
- path : output
35
- retention-days : 1
36
-
37
18
binding :
38
- runs-on : macos-13
39
- needs : binding_arm7
19
+ runs-on : macos-14
40
20
steps :
41
- - uses : actions/checkout@v3
42
- - uses : actions/download-artifact@v2
43
- with :
44
- name : output_binding_arm7
45
- path : output
46
- - uses : actions/setup-go@v3
21
+ - uses : actions/checkout@v4
22
+ - uses : actions/setup-go@v5
47
23
with :
48
- go-version : ' ^1.21 '
24
+ go-version : ' ^1.23 '
49
25
- name : Build Go
50
- run : ./go.sh 1.21.0 openpgp
26
+ run : ./go.sh 1.23.3 fastopenpgp
51
27
- name : Build
52
28
run : |
53
29
export PATH="/tmp/go/bin:$PATH"
@@ -63,20 +39,20 @@ jobs:
63
39
tag : ${{ env.VERSION }}
64
40
overwrite : true
65
41
- if : ${{ env.VERSION=='' }}
66
- uses : actions/upload-artifact@v3
42
+ uses : actions/upload-artifact@v4
67
43
with :
68
44
name : libopenpgp_bridge_ios
69
45
path : output.tar.gz
70
46
71
47
xcframework :
72
48
runs-on : macos-14
73
49
steps :
74
- - uses : actions/checkout@v3
75
- - uses : actions/setup-go@v3
50
+ - uses : actions/checkout@v4
51
+ - uses : actions/setup-go@v5
76
52
with :
77
- go-version : ' ^1.21 '
53
+ go-version : ' ^1.23 '
78
54
- name : Build Go
79
- run : ./go.sh 1.21.0 openpgp
55
+ run : ./go.sh 1.23.3 fastopenpgp
80
56
- name : Build
81
57
run : |
82
58
export PATH="/tmp/go/bin:$PATH"
92
68
tag : ${{ env.VERSION }}
93
69
overwrite : true
94
70
- if : ${{ env.VERSION=='' }}
95
- uses : actions/upload-artifact@v3
71
+ uses : actions/upload-artifact@v4
96
72
with :
97
73
name : libopenpgp_bridge_ios_xcframework
98
74
path : output.tar.gz
0 commit comments