Skip to content

Merge branch 'Experimental' of https://github.com/Aspirata/MiBlend in… #125

Merge branch 'Experimental' of https://github.com/Aspirata/MiBlend in…

Merge branch 'Experimental' of https://github.com/Aspirata/MiBlend in… #125

Workflow file for this run

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"