diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-07-31 22:35:13 -0700 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-07-31 22:35:13 -0700 |
commit | 78ada9b463a41260ccf53bbdc08b396ab9783ee2 (patch) | |
tree | a849bad5ca3a8a0a4a162181110dff6ef31f6e4c /.github/workflows/main.yaml | |
parent | e18df47cee14cde58584ffc1a8bbb2606b6f4102 (diff) | |
download | sncontinue-78ada9b463a41260ccf53bbdc08b396ab9783ee2.tar.gz sncontinue-78ada9b463a41260ccf53bbdc08b396ab9783ee2.tar.bz2 sncontinue-78ada9b463a41260ccf53bbdc08b396ab9783ee2.zip |
ci: :green_heart: pyinstaller to main.yaml
Diffstat (limited to '.github/workflows/main.yaml')
-rw-r--r-- | .github/workflows/main.yaml | 32 |
1 files changed, 9 insertions, 23 deletions
diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 1d5f2cbc..edae444f 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -7,7 +7,7 @@ on: - package-python jobs: - nuitka-build: + pyinstaller: strategy: matrix: os: [macos-latest, ubuntu-latest, windows-latest] @@ -18,6 +18,11 @@ jobs: - name: Check-out repository uses: actions/checkout@v3 + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: "3.8" + - name: Install Poetry run: | curl -sSL https://install.python-poetry.org | python3 - @@ -27,34 +32,15 @@ jobs: cd continuedev poetry install - # - name: Setup Python - # uses: actions/setup-python@v4 - # with: - # python-version: "3.10" # Version range or exact version of a Python version to use, using SemVer's version range syntax - # architecture: "x64" # optional x64 or x86. Defaults to x64 if not specified - # cache: "pip" - # cache-dependency-path: | - # **/requirements*.txt + - run: pip install -r requirements.txt pyinstaller - - name: Install Dependencies - run: | - pip install -r requirements.txt - - - name: Build Executable - uses: Nuitka/Nuitka-Action@main - with: - nuitka-version: main - script-name: continuedev/src/run.py - onefile: true + - run: pyinstaller run.py - name: Upload Artifacts uses: actions/upload-artifact@v3 with: name: ${{ runner.os }} Build - path: | - build/*.exe - build/*.bin - build/*.app/**/* + path: dist/* # publish: # runs-on: ubuntu-latest |