File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 90
90
PUBLIC_KEY : ${{ secrets.PUBLIC_KEY }}
91
91
PRIVATE_KEY : ${{ secrets.PRIVATE_KEY }}
92
92
run : |
93
- echo $PUBLIC_KEY > public.key
94
- echo $PRIVATE_KEY > private.key
95
- cat public.key | base64 -d > public.pem
96
- cat private.key | base64 -d > private.pem
93
+ echo "$PUBLIC_KEY" | base64 -d > public.pem
94
+ echo "$PRIVATE_KEY" | base64 -d > private.pem
97
95
- name : Create Release
98
96
working-directory : ./ci
99
97
env :
@@ -112,10 +110,15 @@ jobs:
112
110
--uuid $UUID \
113
111
--package $(deno run -q ci get-path --package darwin-arm64) \
114
112
--branch $BRANCH \
115
- --public-key public.key \
116
- --private-key private.key \
113
+ --public-key public.pem \
114
+ --private-key private.pem \
117
115
--target-operating-system macOS \
118
116
--target-architecture arm64
117
+
118
+ if [ $? -ne 0 ]; then
119
+ echo "Failed to add package to release"
120
+ exit 1
121
+ fi
119
122
- name : Remove keys
120
123
working-directory : ./ci
121
124
run : |
You can’t perform that action at this time.
0 commit comments