From 2f8c5346ebb2fe583e83d611a4f0a173fc3af897 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Holger=20M=C3=BCller?= Date: Thu, 3 Aug 2023 17:01:03 +0200 Subject: [PATCH] Feature/actions (#672) * use python3.11 * noconsole for windows binary * no more 32-Bit versions --- .github/PULL_REQUEST_TEMPLATE.md | 18 +++++++++--------- .github/workflows/release_win.yml | 7 +++---- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 5d0b0b3..fa415f6 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -6,13 +6,13 @@ Please check the type of change your PR introduces: -- [ ] Bugfix -- [ ] Feature -- [ ] Code style update (formatting, renaming) -- [ ] Refactoring (no functional changes, no API changes) -- [ ] Build-related changes -- [ ] Documentation content changes -- [ ] Other (please describe): +- [] Bugfix +- [] Feature +- [] Code style update (formatting, renaming) +- [] Refactoring (no functional changes, no API changes) +- [] Build-related changes +- [] Documentation content changes +- [] Other (please describe): ## What is the current behavior? @@ -30,8 +30,8 @@ Issue Number: N/A ## Does this introduce a breaking change? -- [ ] Yes -- [ ] No +- [] Yes +- [] No diff --git a/.github/workflows/release_win.yml b/.github/workflows/release_win.yml index 3b7eb9c..aa20826 100644 --- a/.github/workflows/release_win.yml +++ b/.github/workflows/release_win.yml @@ -11,7 +11,7 @@ jobs: runs-on: windows-latest strategy: matrix: - arch: [x64, x86] + arch: [x64, ] steps: - uses: actions/checkout@v3 @@ -20,7 +20,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: 3.9 + python-version: 3.11 architecture: ${{ matrix.arch }} - name: Install dependencies and pyinstall run: | @@ -30,8 +30,7 @@ jobs: - name: Build binary run: | python setup.py -V - pyinstaller --onefile -i icon_48x48.ico -p src -n nanovna-saver.exe nanovna-saver.py - + pyinstaller --onefile --noconsole -i icon_48x48.ico -p src -n nanovna-saver.exe nanovna-saver.py - name: Archive production artifacts uses: actions/upload-artifact@v1 with: