Delete old macos build and change macos upload artifact version #1
Workflow file for this run
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: Pytest | |
on: | |
workflow_call: | |
inputs: | |
python-version: | |
required: true | |
type: string | |
runs-on: | |
required: true | |
type: string | |
jobs: | |
pyinstaller: | |
runs-on: ${{ inputs.runs-on }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ inputs.python-version }} | |
- uses: sanjacob/pipenv-requirements@v1 | |
with: | |
from-pipfile: true | |
dev: true | |
- name: Run PyInstaller | |
run: python packaging/pyinst.py | |
- name: Upload macos build | |
if: startsWith(inputs.runs-on, 'macos') | |
uses: actions/upload-artifact@v4.3.5 | |
with: | |
name: build-macos-latest | |
path: dist/BBSync.app | |
- name: Upload windows build | |
if: startsWith(inputs.runs-on, 'windows') | |
with: | |
name: build-windows-latest | |
path: dist/BBSync/** |