-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (36 loc) · 1.37 KB
/
shrp-build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: SHRP C18Pro
on:
workflow_dispatch:
inputs:
VENDOR_REPO:
description: 'Link to vendor repo'
required: false
default: 'https://github.com/deadYokai/proprietary_vendor_c18pro'
env:
BOT_API: ${{ secrets.BOT_API }}
GCF_AUTH_KEY: ${{ secrets.GCF_AUTH_KEY }}
GH_BOT_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GitHubMail: ${{ secrets.GitHubMail }}
GitHubName: ${{ secrets.GitHubName }}
SFPassword: ${{ secrets.SFPassword }}
SFUserName: ${{ secrets.SFUserName }}
VENDOR_REPO: ${{ inputs.VENDOR_REPO }}
jobs:
Recovery_compiling:
if: "(! contains(toJSON(github.event.commits.*.message), '[skip-ci]'))"
runs-on: ubuntu-latest
steps:
- name: Cleaning Up Runner (Slimhub)
uses: rokibhasansagar/slimhub_actions@main
- name: Auto Adapt Manifest
# /* if your branch name is other than the one which you dispatched workflow from then set it manually in the place of ${GITHUB_REF##*/}" */
run: echo "MANIFEST=https://github.com/SHRP/manifest.git -b v3_10.0" >> $GITHUB_ENV
- name: Compilation
uses: deadYokai/Recovery-Compiler@production
- name: Upload
uses: actions/[email protected]
with:
name: dump files
path: |
/home/runner/builder/out/target/product/c18pro/*.zip
/home/runner/builder/out/target/product/c18pro/*.img