Skip to content

Add notice Ethernet WAN Routers only. #17

Add notice Ethernet WAN Routers only.

Add notice Ethernet WAN Routers only. #17

Workflow file for this run

on:
push:
branches:
- main
release:
types:
- created
name: Create frozen binaries for release
jobs:
generate:
name: Create release-artifacts
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Checkout the repository
uses: actions/checkout@master
- name: Set up Python
uses: actions/[email protected]
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pyinstaller
- name: Build executable
run: pyinstaller --onefile --name pppoe-retriever-${{matrix.os}} --distpath ./dist pppoe-retriever.py
- name: Upload artifacts
if: github.event_name == 'push'
uses: actions/upload-artifact@v4
with:
name: pppoe-retriever-${{matrix.os}}
path: dist/
- name: Upload frozen binaries to realease
if: github.event_name == 'release' && github.event.action == 'created'
uses: AButler/[email protected]
with:
files: "./dist/pppoe-retriever-${{matrix.os}}*"
repo-token: ${{ secrets.GITHUB_TOKEN }}