Skip to content

Commit

Permalink
Merge branch 'new-plugin' of https://github.com/BulkGate/woosms into …
Browse files Browse the repository at this point in the history
…new-plugin
  • Loading branch information
lukaspijak committed Jul 12, 2023
2 parents cee45c0 + dd45e87 commit 3d29f8a
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: Release plugin

on:
workflow_dispatch:
release:
types: [created]
on: [push]
#on:
# workflow_dispatch:
# release:
# types: [created]

jobs:
build:
Expand All @@ -14,6 +15,8 @@ jobs:
- name: Install packages
run: composer install --prefer-dist --no-progress --no-suggest

- name: Create plugin zip archive
run: ls -l
- name: Create plugin archive
run: tar -czf /tmp/plugin.tar.gz assets src vendor .compatibility.php LICENSE readme.txt $(ls woosms-*)

- name: Archive contents
run: tar -tf /tmp/plugin.tar.gz

0 comments on commit 3d29f8a

Please sign in to comment.