-
Notifications
You must be signed in to change notification settings - Fork 134
41 lines (33 loc) · 869 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
39
40
41
name: CI
on:
push:
branches: ["master"]
workflow_dispatch:
repository_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install uv
uses: astral-sh/setup-uv@v4
- uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Build
run: |
uv run python3 main.py
echo "NEW_TAG=$(cat NEW_TAG.txt)" >> $GITHUB_ENV
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
path: build/
- name: Release
if: hashFiles('NEW_TAG.txt') != ''
uses: ncipollo/release-action@v1
with:
artifacts: build/*.zip,build/updater.json
tag: "${{ env.NEW_TAG }}"
body: https://github.com/frida/frida/releases