-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (36 loc) Β· 1022 Bytes
/
ci.yaml
File metadata and controls
38 lines (36 loc) Β· 1022 Bytes
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
name: Engine Patcher
on:
workflow_dispatch:
inputs:
token_prefix:
description: 'Token prefix'
required: true
default: 'SMMWE'
jobs:
patch:
runs-on: ubuntu-latest
env:
TOKEN_PREFIX: ${{ github.event.inputs.token_prefix }}
KEYSTORE_PASSWORD: ${{ github.secrets.KEYSTORE_PASSWORD }}
SOURCE_API: ${{ github.secrets.SOURCE_API }}
TARGET_API: ${{ github.secrets.TARGET_API }}
steps:
- uses: actions/checkout@v2
name: "π¦ Clone repository"
with:
fetch-depth: 0
- uses: actions/setup-python@v2
name: "π Setup Python"
with:
python-version: '3.10'
- name: "π¦ Install dependencies"
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: "π§ Patch"
run: python patch.py
- name: "π¦ Upload artifacts"
uses: actions/upload-artifact@v2
with:
name: engine
path: engine