Skip to content

bum version

bum version #6

Workflow file for this run

name: Windows Release
on:
push:
tags:
- "v*.*.*"
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/[email protected]
with:
python-version: '3.9'
- name: GitHub Tag
run: |
echo "Tag name from github.ref_name: ${{ github.ref_name }}"
- name: Build
run: |
echo "Venv setup"
python -m venv .venv
.venv\Scripts\activate
echo "Installing dependencies"
pip install -e ./
echo "Building style"
python build_style.py
echo "Building"
cd .\scripts\
.\build_win.bat
- name: Zipping
run: |
echo "Zipping to Blender_Launcher_${{ github.ref_name }}_Windows_x64.zip"
Compress-Archive -Path ".\dist\release\Blender Launcher.exe" -DestinationPath Blender_Launcher_${{ github.ref_name }}_Windows_x64.zip
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: ./Blender_Launcher_${{ github.ref_name }}_Windows_x64.zip