Skip to content

Commit d900cc8

Browse files
authored
fix bad release hopefully (#88)
1 parent 07b64a0 commit d900cc8

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

.github/workflows/runner.yml

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,15 @@ jobs:
8989
ls -la ws/addons/patchwork/rust/plugin/linux || echo "No linux artifacts"
9090
ls -la ws/addons/patchwork/rust/plugin/macos/libpatchwork_rust_core.macos.framework || echo "No macos artifacts"
9191
ls -la ws/addons/patchwork/rust/plugin/windows || echo "No windows artifacts"
92+
- name: Create artifacts/
93+
run: mkdir artifacts
9294
# add the entire "addons" folder to the artifacts
95+
- name: Copy addons to artifacts/
96+
run: cp -R ws/addons artifacts/patchwork-godot-plugin
9397
- name: Upload patchwork-godot-plugin
9498
uses: actions/upload-artifact@v4
9599
with:
96-
path: ws/addons
100+
path: artifacts/patchwork-godot-plugin
97101
name: patchwork-godot-plugin
98102
- uses: actions/checkout@v4
99103
with:
@@ -106,10 +110,12 @@ jobs:
106110
run: |
107111
mkdir -p moddable-platformer/addons
108112
cp -R ws/addons/patchwork moddable-platformer/addons
109-
- name: Upload
113+
- name: Copy moddable-platformer to artifacts/
114+
run: cp -R moddable-platformer artifacts/moddable-platformer-with-patchwork
115+
- name: Upload moddable-platformer
110116
uses: actions/upload-artifact@v4
111117
with:
112-
path: moddable-platformer
118+
path: artifacts/moddable-platformer-with-patchwork
113119
name: moddable-platformer-with-patchwork
114120
- uses: actions/checkout@v4
115121
with:
@@ -122,16 +128,18 @@ jobs:
122128
- name: Copy addons to threadbare
123129
run: |
124130
cp -R ws/addons/patchwork threadbare/addons
125-
- name: Upload
131+
- name: Copy threadbare to artifacts/
132+
run: cp -R threadbare artifacts/threadbare-with-patchwork
133+
- name: Upload threadbare
126134
uses: actions/upload-artifact@v4
127135
with:
128-
path: threadbare
136+
path: artifacts/threadbare-with-patchwork
129137
name: threadbare-with-patchwork
130138
- name: Release
131139
if: startsWith(github.ref, 'refs/tags/')
132140
uses: nikitalita/action-gh-release@v1.0
133141
with:
134142
files: |
135-
ws/patchwork-godot-plugin.zip
136-
moddable-platformer-with-patchwork.zip
137-
threadbare-with-patchwork.zip
143+
artifacts/patchwork-godot-plugin
144+
artifacts/moddable-platformer-with-patchwork
145+
artifacts/threadbare-with-patchwork

0 commit comments

Comments
 (0)