This repository has been archived by the owner on Jan 11, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
72 lines (58 loc) · 1.67 KB
/
build.yaml
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
name: Release
on:
push:
branches:
- main
paths:
- '.github/workflows/build.yaml'
env:
VERSION: "2.0"
USER: Mikk155
REPOSITORY: ripent.py
jobs:
Windows:
name: Win32
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Installing MikkUtils
run: pip install MikkUtils --upgrade
- name: Install pyinstaller
run: pip install pyinstaller
- name: Build Executable
run: pyinstaller --onefile ripent.py
- name: Release
uses: xresloader/upload-to-github-release@v1.6.0
with:
file: "dist/ripent.exe;ripent.py;rules.json"
tag_name: ${{ env.VERSION }}
token: ${{ secrets.TOKEN }}
target_owner: ${{ env.USER }}
target_repo: ${{ env.REPOSITORY }}
default_release_name: "Rip Ent"
update_release_body_path: "changelog.md"
draft: false
prerelease: false
update_latest_release: false
Linux:
needs: Windows
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Installing MikkUtils
run: pip install MikkUtils --upgrade
- name: Install pyinstaller
run: pip install pyinstaller
- name: Build Executable
run: pyinstaller --onefile ripent.py
- name: Release
uses: xresloader/upload-to-github-release@v1.6.0
with:
file: "dist/ripent"
tag_name: ${{ env.VERSION }}
token: ${{ secrets.TOKEN }}
target_owner: ${{ env.USER }}
target_repo: ${{ env.REPOSITORY }}
update_latest_release: true