File tree Expand file tree Collapse file tree 1 file changed +23
-5
lines changed Expand file tree Collapse file tree 1 file changed +23
-5
lines changed Original file line number Diff line number Diff line change 15
15
description : ' If already a working in progress release branch'
16
16
default : None
17
17
18
+ env :
19
+ # Use SHA256 for hashing files.
20
+ hashCommand : " sha256sum"
21
+
18
22
jobs :
19
23
package_sdks :
20
24
name : package-${{matrix.os}}
@@ -155,16 +159,30 @@ jobs:
155
159
echo "::set-output name=branch_pushed::0"
156
160
fi
157
161
158
- - name : Listing output
162
+ - name : Create Zip File
159
163
run : |
160
- ls -Rl
161
- working-directory : output
164
+ cp docs/readme.md output/.
165
+ cp LICENSE output/.
166
+ ls -Rl output
167
+ zip -r firebase_unity_sdk.zip output
168
+
169
+ - name : compute SDK hash
170
+ shell : bash
171
+ run : |
172
+ ${{ env.hashCommand }} --tag firebase_unity_sdk.zip > firebase_unity_sdk_hash.txt
173
+ echo "::warning ::$(cat firebase_unity_sdk_hash.txt)"
174
+
175
+ - name : upload hash
176
+
177
+ with :
178
+ name : firebase_unity_sdk_hash.txt
179
+ path : firebase_unity_sdk_hash.txt
162
180
163
181
- name : Upload Build unitypackage
164
182
uses : actions/upload-artifact@v2
165
183
with :
166
- name : firebase_unity_sdk
167
- path : output
184
+ name : firebase_unity_sdk.zip
185
+ path : firebase_unity_sdk.zip
168
186
169
187
- name : Package tgz
170
188
run : |
You can’t perform that action at this time.
0 commit comments