25 lines
638 B
YAML
25 lines
638 B
YAML
name: Release
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- '*'
|
|
jobs:
|
|
release:
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest]
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-python@v4
|
|
with:
|
|
python-version: '3.10'
|
|
- run: pip install -r requirements.txt
|
|
- run: pyinstaller --onefile --noupx creeper.py
|
|
- run: cp -r assets dist/creeper
|
|
- name: Step 3 - Use the Upload Artifact GitHub Action
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: creeper-${{ matrix.os }}
|
|
path: dist
|