Skip to content

Commit ada6b7e

Browse files
author
Cynthia Jiang
committed
test
1 parent b4d968d commit ada6b7e

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/package.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -159,15 +159,17 @@ jobs:
159159
echo "::set-output name=branch_pushed::0"
160160
fi
161161
162-
- name: Listing output
162+
- name: Create Zip File
163163
run: |
164-
ls -Rl
165-
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
166168
167169
- name: compute SDK hash
168170
shell: bash
169171
run: |
170-
${{ env.hashCommand }} --tag output/firebase_unity_sdk.zip > firebase_unity_sdk_hash.txt
172+
${{ env.hashCommand }} --tag firebase_unity_sdk.zip > firebase_unity_sdk_hash.txt
171173
echo "::warning ::$(cat firebase_unity_sdk_hash.txt)"
172174
173175
- name: upload hash
@@ -179,8 +181,8 @@ jobs:
179181
- name: Upload Build unitypackage
180182
uses: actions/upload-artifact@v2
181183
with:
182-
name: firebase_unity_sdk
183-
path: output
184+
name: firebase_unity_sdk.zip
185+
path: firebase_unity_sdk.zip
184186

185187
- name: Package tgz
186188
run: |

0 commit comments

Comments
 (0)