Release #19
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: Release | |
on: | |
workflow_dispatch: | |
jobs: | |
release: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Set up pip and virtualenv | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install virtualenv | |
python -m virtualenv venv | |
- name: Copy files | |
run: | | |
mkdir app | |
cp -r src/ app/ | |
cp main.spec app/ | |
cp README.md app/ | |
cp LICENSE app/ | |
- name: Build with PyInstaller | |
run: | | |
.\venv\Scripts\activate | |
pip install -r requirements.txt | |
cd app | |
pyinstaller main.spec | |
- name: Create Release | |
uses: softprops/action-gh-release@v2 | |
with: | |
tag_name: v${{ github.run_number }} | |
name: Release ${{ github.run_number }} | |
body: | | |
Changes in this Release: | |
- Built with PyInstaller | |
draft: false | |
prerelease: false | |
files: ./app/dist/Rom_Detective.exe |