Skip to content
This repository was archived by the owner on Aug 22, 2023. It is now read-only.

Commit 0527986

Browse files
committed
ci: 💚 fix CLI and add concurrency
1 parent ca062ad commit 0527986

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on: [push, pull_request]
44

55
permissions:
66
contents: read
7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.ref }}
9+
cancel-in-progress: true
10+
711

812
jobs:
913
lint:
@@ -172,7 +176,7 @@ jobs:
172176
./.venv/Scripts/activate.ps1
173177
# pip install nuitka minecraft_launcher_lib click tomli darkdetect asyncclick
174178
echo '__version__ = "${{ env.BRANCH }}+${{ steps.short-sha.outputs.sha }}"' | Out-File vanilla_installer/__init__.py
175-
python -m nuitka --standalone --onefile --windows-icon-from-ico=media/icon.ico --output-dir=build --include-package=minecraft_launcher_lib,asyncclick,click,tomli,darkdetect -o "vanilla-installer.exe" --enable-console --include-data-dir=vanilla_installer/assets=assets/ vanilla_installer/cli.py --assume-yes-for-downloads
179+
python -m nuitka --standalone --onefile --windows-icon-from-ico=media/icon.ico --output-dir=build --include-package=minecraft_launcher_lib,asyncclick,click,tomli -o "vanilla-installer.exe" --enable-console --include-data-dir=vanilla_installer/assets=assets/ vanilla_installer/cli.py --assume-yes-for-downloads
176180
- name: Upload binaries
177181
uses: actions/upload-artifact@v3
178182
with:

0 commit comments

Comments
 (0)