Skip to content

Commit 70eec9a

Browse files
committed
Zip automation + linting prep
1 parent 91d638f commit 70eec9a

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/package.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
name: Package Plugin
1+
name: Package and Upload Plugin
22

33
on:
44
release:
55
types: [published]
66

77
jobs:
8-
zip-plugin:
8+
release:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout code
@@ -14,9 +14,10 @@ jobs:
1414
- name: Zip plugin
1515
run: zip -r proxy-aware-https-fix.zip proxy-aware-https-fix.php README.md LICENSE CHANGELOG.md
1616

17-
- name: Upload artifact
18-
uses: actions/upload-artifact@v4
17+
- name: Upload to GitHub Release
18+
uses: softprops/action-gh-release@v1
1919
with:
20-
name: proxy-aware-https-fix
21-
path: proxy-aware-https-fix.zip
20+
files: proxy-aware-https-fix.zip
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2223

0 commit comments

Comments
 (0)