We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b198fe commit 355d420Copy full SHA for 355d420
1 file changed
.github/workflows/payload.yml
@@ -0,0 +1,31 @@
1
+# .github/workflows/payload-package.yml
2
+name: Generate Payload Library Artifact
3
+
4
+on:
5
+ push:
6
+ branches:
7
+ - main
8
+ workflow_dispatch:
9
10
+jobs:
11
+ build-and-package:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - name: Checkout repository
15
+ uses: actions/checkout@v3
16
17
+ - name: Clone OTA payload repo from Google
18
+ run: |
19
+ git clone --recursive https://android.googlesource.com/platform/tools/ota_payload \
20
+ google-payload
21
22
+ - name: Compress payload files
23
24
+ cd payload-output
25
+ zip -r ../payload-files.zip .
26
27
+ - name: Upload artifact
28
+ uses: actions/upload-artifact@v3
29
+ with:
30
+ name: payload-files
31
+ path: payload-files.zip
0 commit comments