File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -168,9 +168,17 @@ jobs:
168168 cd bin/binaries
169169 gcc ${{matrix.os.gcc-flags}} -Ilua-5.1.5/src/ -I/ -Llua-5.1.5/src/ moonc.c lpeg-1.0.2/lpvm.c lpeg-1.0.2/lpcap.c lpeg-1.0.2/lptree.c lpeg-1.0.2/lpcode.c lpeg-1.0.2/lpprint.c luafilesystem/src/lfs.o -l:liblua.a -lm -o build-output/${{matrix.os.moonc}}
170170
171+ # Archive the moon and moonc executables.
172+ - name : Archive moon & moonc executables
173+ uses : ihiroky/archive-action@v1
174+ with :
175+ root_dir : bin/binaries/build-output
176+ file_path : ${{matrix.os.artifact}}.zip
177+ verbose : true
178+
171179 # Upload them as artifacts
172180 - name : Upload build artifacts
173181 uses : actions/upload-artifact@v4
174182 with :
175183 name : ${{matrix.os.artifact}}
176- path : bin/binaries/build-output/*
184+ path : ${{matrix.os.artifact}}.zip
Original file line number Diff line number Diff line change 2424 pattern : gmod-moonscript-*
2525 merge-multiple : true
2626
27- # Display tree
28- - name : Display tree
29- run : tree
30-
3127 # Make a release with those artifacts.
3228 - name : Make release
3329 uses : softprops/action-gh-release@v2
You can’t perform that action at this time.
0 commit comments