-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (30 loc) · 934 Bytes
/
test.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
name: Publisdsfkh packages on release
on:
workflow_dispatch:
permissions:
contents: write
jobs:
build_linux64:
name: Build ubuntu binary
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
cache: 'pip'
python-version: '3.12'
- name: Install dependencies
run: |
sudo apt update -y
sudo apt install -y alien
python -m pip install --upgrade pip
pip install --upgrade cx_Freeze pyperclip
- name: Freeze app
run: cxfreeze bdist_deb
- name: Upload to release
run: gh release upload ${{github.event.release.tag_name}} build/*.deb
env:
GITHUB_TOKEN: ${{ github.TOKEN }}