Skip to content

Commit 98e83f6

Browse files
committed
fix bad release again hopefully
1 parent d900cc8 commit 98e83f6

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/runner.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,11 +135,19 @@ jobs:
135135
with:
136136
path: artifacts/threadbare-with-patchwork
137137
name: threadbare-with-patchwork
138+
- name: Zip artifacts for release
139+
if: startsWith(github.ref, 'refs/tags/')
140+
run: |
141+
ls -la artifacts/*
142+
cd artifacts
143+
zip -r9 "patchwork-godot-plugin.zip" "patchwork-godot-plugin"
144+
zip -r9 "moddable-platformer-with-patchwork.zip" "moddable-platformer-with-patchwork"
145+
zip -r9 "threadbare-with-patchwork.zip" "threadbare-with-patchwork"
138146
- name: Release
139147
if: startsWith(github.ref, 'refs/tags/')
140148
uses: nikitalita/action-gh-release@v1.0
141149
with:
142150
files: |
143-
artifacts/patchwork-godot-plugin
144-
artifacts/moddable-platformer-with-patchwork
145-
artifacts/threadbare-with-patchwork
151+
artifacts/patchwork-godot-plugin.zip
152+
artifacts/moddable-platformer-with-patchwork.zip
153+
artifacts/threadbare-with-patchwork.zip

0 commit comments

Comments
 (0)