forked from ViRb3/magisk-frida
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (32 loc) · 849 Bytes
/
main.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
name: CI
on:
schedule:
- cron: "0 9/12 * * *"
push:
branches: ["master"]
workflow_dispatch:
repository_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Build
run: |
pip3 install poetry==1.5.1
poetry config virtualenvs.create false
poetry install
python3 main.py
echo "NEW_TAG=$(cat NEW_TAG.txt)" >> $GITHUB_ENV
- name: Release
if: hashFiles('NEW_TAG.txt') != ''
uses: ncipollo/release-action@v1.10.0
with:
artifacts: build/*.zip,build/updater.json
tag: "${{ env.NEW_TAG }}"
body: https://github.com/frida/frida/releases