Skip to content

Basic functionality: Save, Load, Translation, Metadata UI #6

Basic functionality: Save, Load, Translation, Metadata UI

Basic functionality: Save, Load, Translation, Metadata UI #6

Workflow file for this run

name: Build and Attach Plugin ZIP to Release (Windows)
on:
workflow_dispatch:
inputs:
tag_name:
description: 'workflow-dispatch'
required: true
push:
branches: [ "master" ]
tags:
- 'v*'
pull_request:
branches: [ "master" ]
tags:
- 'v*' # Only runs on tags like v1.0.0
release:
types: [published]
jobs:
package-and-upload:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install pb_tool
run: |
pip install pb_tool==3.1.0
- name: Run pb_tool zip
run: |
pb_tool zip
- name: Copy zip file to staging directory
run: |
New-Item -ItemType Directory -Path build -Force
Copy-Item zip_build\*.zip build\
- name: Upload ZIP to GitHub Release
uses: softprops/action-gh-release@v2
with:
files: build/*.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}