Skip to content

Commit d31d8b4

Browse files
authored
Run zip workflow only upon release creation
1 parent c235cf7 commit d31d8b4

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/release_zip.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: ReleaseZipCI
22

33
on:
4-
push:
5-
branches: [ master ]
64
release:
75
types: [ created ]
86

@@ -19,9 +17,7 @@ jobs:
1917

2018
- run: rm ./extension/manifest.json
2119
- run: cp ./alternates/firefox-manifest.json ./extension/manifest.json
22-
- run: cd ./extension
23-
- run: find . -type f -exec sed -i 's/chrome/browser/g' {} \;
24-
- run: cd ..
20+
- run: find ./extension -type f -exec sed -i 's/chrome/browser/g' {} \;
2521

2622
- name: Upload Firefox Extension as a build artifact
2723
uses: actions/upload-artifact@v2

0 commit comments

Comments
 (0)