Skip to content

Commit 74718bf

Browse files
authored
Merge pull request #46 from Ivorforce/patch-4
2 parents d21402c + 649a45e commit 74718bf

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,19 @@ jobs:
112112
- name: Upload Artifact
113113
uses: actions/upload-artifact@v4
114114
with:
115-
name: GDExtension
115+
name: GDExtension-${{ matrix.platform }}-${{ matrix.arch }}
116116
path: |
117117
${{ github.workspace }}/bin/**
118+
merge:
119+
runs-on: ubuntu-latest
120+
needs: build
121+
steps:
122+
- name: Merge Artifacts
123+
uses: actions/upload-artifact/merge@v4
124+
with:
125+
name: GDExtension-all
126+
pattern: GDExtension-*
127+
delete-merged: true
118128
```
119129
120130
The above example is a lengthy one, so we will go through it action by action to see what is going on.
@@ -131,7 +141,7 @@ with:
131141
```
132142
with the parameters from the matrix.
133143

134-
As a result of this step, the binaries will be built in the `bin` folder (as specified in the SConstruct file).
144+
As a result of this step, the binaries will be built in the `bin` folder (as specified in the SConstruct file). After all builds are completed, all individual builds will be merged into one common GDExtension-all zip that you can download.
135145

136146
Note: for macos, you will have to build the binary as a `.dylib` in a `EXTENSION-NAME.framework` folder. The framework folder should also have a `Resources` folder with a file called `Info.plist`. Without this file, signing will fail.
137147

0 commit comments

Comments
 (0)