Update readme.md #59
This file contains hidden or 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: Build and Upload (CI) | |
on: | |
push: | |
branches: | |
- main | |
- version-* | |
pull_request: | |
branches: | |
- main | |
- version-* | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check for build/ci-build.py | |
run: | | |
if [ ! -f build/ci-build.py ]; then | |
echo "Warning: build/ci-build.py not found!" | |
exit 1 | |
fi | |
shell: bash | |
- name: Set up Python 3.12.4 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12.4' | |
- name: Install Dependencies | |
run: python -m pip install --upgrade pip && python -m pip install --upgrade pyinstaller | |
- name: Build (build/ci-build.py) | |
run: python build/ci-build.py | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Kliko's modloader | |
path: build/bin/Kliko's modloader.exe |