Finalization v0.6.0 #135
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: Experimental Branch Auto Build | |
on: | |
push: | |
branches: | |
- Experimental | |
pull_request: | |
branches: | |
- Experimental | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10.13' | |
- name: Install required packages | |
run: | | |
python -m pip install --upgrade pip | |
- name: Add warning to __init__.py | |
run: | | |
BUILD_DATE=$(TZ='Asia/Novosibirsk' date +"%d.%m.%Y %H:%M:%S") | |
sed -i "15 a\ \"warning\": \"This is Experimental Branch Build ($BUILD_DATE)\"," "MiBlend_Source/__init__.py" | |
- name: Prepare Blender Addon | |
run: | | |
mkdir -p "output/MiBlend Experimental Auto Build/MiBlend_Source" | |
cp -r "MiBlend_Source"/* "output/MiBlend Experimental Auto Build/MiBlend_Source/" | |
- name: Upload folder as artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: MiBlend Experimental Auto Build | |
path: "output/MiBlend Experimental Auto Build" |