Skip to content

Commit 9788d07

Browse files
Add release workflow when tag is created
1 parent 33bcafd commit 9788d07

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/releases.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Create Release Assets
2+
on:
3+
push:
4+
tags:
5+
- "*"
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@master
11+
with:
12+
fetch-depth: 1
13+
14+
- name: "Zip plugin"
15+
uses: thedoctor0/[email protected]
16+
with:
17+
type: "zip"
18+
path: "./"
19+
filename: "./packages/gravityforms-addon-email-filtering.zip"
20+
exclusions: "/packages/* *.git*"
21+
22+
- name: Upload release binaries
23+
uses: alexellis/[email protected]
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+
with:
27+
asset_paths: '["./packages/*.zip"]'

0 commit comments

Comments
 (0)