Skip to content

v0.10.0

v0.10.0 #159

Workflow file for this run

name: Auto build for windows
on:
push:
branches: [ '*' ]
tags: [ 'v*.*.*' ]
pull_request:
branches: [ '*' ]
jobs:
windows:
runs-on: windows-2022
steps:
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: '3.12'
architecture: x64
- uses: actions/checkout@v4
- name: Install dependencies
run: |
pip install pyinstaller dnspython[doh,doq] rich
pip install -r requirements.txt
- name: Package Application
run: |
pyinstaller accesser.spec
env:
PYTHONOPTIMIZE: 1
- uses: actions/upload-artifact@v4
with:
name: windows
path: ./dist/
windows-lite:
runs-on: windows-2022
steps:
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: '3.12'
architecture: x64
- uses: actions/checkout@v4
- name: Install dependencies
run: |
pip install pyinstaller
pip install -r requirements.txt
- name: Package Application
run: |
sed -i 's/^ \+\"https/# \"https/' accesser/rules.toml
pyinstaller accesser.spec
env:
PYTHONOPTIMIZE: 1
- uses: actions/upload-artifact@v4
with:
name: windows-lite
path: ./dist/