Skip to content

Release Linux

Release Linux #4

Workflow file for this run

name: Release Linux
on:
# 手动触发
workflow_dispatch:
jobs:
build:
name: Build
runs-on: ubuntu-20.04
steps:
# 使用本项目
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.10.8
- name: libEGL.so.1
run: |
sudo apt-get update && sudo apt-get install libgl1
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: PyInstaller
run: |
python script/packagescript.py
# Upload generated apk to the artifacts.
- uses: actions/[email protected]
with:
# Artifact name
name: ubuntu-release.zip
# 导出文件夹
path: script/dist/
# The desired behavior if no files are found using the provided path.