Publisdsfkh packages on release #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |