diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 77d33a5..8588d9b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,20 +23,15 @@ jobs: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 - - name: Set up Python 3.7 - uses: actions/setup-python@v1 + - name: PyInstaller Windows + uses: JackMcKew/pyinstaller-action-windows@main + with: + path: ./ + + - uses: actions/upload-artifact@v2 with: - python-version: 3.7 - - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install pyinstaller - - - name: build with pyinstaller - run: | - pyinstaller pymkm.py - zip --junk-paths pymkm README.md + name: my-exe + path: ./ #src/dist/windows # or path/to/artifact - name: Get release id: get_release diff --git a/requirements-dev.txt b/requirements-dev.txt index f5f1ebd..4441fcd 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,3 +1,4 @@ -r requirements.txt coverage -black \ No newline at end of file +black +pyinstaller \ No newline at end of file