Delete .github/workflows/zip-release.yml

This commit is contained in:
Naji authored and GitHub committed 2025-10-06 13:03:56 -04:00
1 parent 6db88bee29
commit d8c546fae3
1 file changed
-48
-48
View File
@@ -1,48 +0,0 @@
name: Build ZIP
on:
push:
branches: [ main ]
workflow_dispatch:
permissions:
contents: write
jobs:
zip:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set zip name
run: |
REPO="${GITHUB_REPOSITORY##*/}"
echo "ZIP_NAME=${REPO}.zip" >> "$GITHUB_ENV"
- name: Create flat zip (no root folder)
run: |
cd "$GITHUB_WORKSPACE"
zip -r "${ZIP_NAME}" ./* \
-x "web/react/*" "web/react/**" \
-x ".git/*" ".git/**" \
-x "**/node_modules/**" \
-x ".gitignore" \
-x ".github/**" \
-x "**/*.zip"
- name: Upload to GitHub Release (always overwrite 'latest')
uses: softprops/action-gh-release@v2
with:
tag_name: latest
name: Latest Build
body: |
This is an automatically built ZIP from the latest push to `main`.
draft: false
prerelease: false
files: |
${{ env.ZIP_NAME }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}