chore: remove old workflow files (prevent phantom drift)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 15s
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 15s
This commit is contained in:
@@ -1,33 +0,0 @@
|
||||
name: Build Package
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Build package ZIP
|
||||
run: |
|
||||
cd source
|
||||
# Create individual package ZIPs
|
||||
for pkg_dir in packages/*/; do
|
||||
pkg_name=$(basename "$pkg_dir")
|
||||
cd "$pkg_dir"
|
||||
zip -r "../../${pkg_name}.zip" . -x "*.git*"
|
||||
cd ../..
|
||||
done
|
||||
# Create main package ZIP with all sub-packages + manifest
|
||||
zip -j "pkg_mokosuitefield.zip" pkg_*.xml script.php updates.xml *.zip 2>/dev/null || true
|
||||
ls -la *.zip
|
||||
|
||||
- name: Create Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
files: source/pkg_mokosuitefield.zip
|
||||
generate_release_notes: true
|
||||
Reference in New Issue
Block a user