Before first release

This commit is contained in:
2023-03-24 18:16:26 +01:00
parent b4b81f725d
commit b3b3dbc7b7
4 changed files with 26 additions and 12 deletions

47
.github/workflows/release.yml vendored Normal file
View File

@@ -0,0 +1,47 @@
name: Release
on:
push:
tags:
- "*"
permissions:
contents: write
jobs:
build-windows-portable:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install deps
run: |
python -m pip install --upgrade pip
pip install .[build]
- name: Build
run: pyinstaller dyn2py.spec
- uses: actions/upload-artifact@v3
with:
name: dyn2py.exe
path: dist/dyn2py.exe
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with:
name: dyn2py.exe
- name: Release
uses: softprops/action-gh-release@v1
with:
files: dyn2py.exe