Skip to content

Commit 0bd32b6

Browse files
committed
feat: upload runtime files in workflow artifact
1 parent 53e6e99 commit 0bd32b6

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,15 @@ jobs:
6868
- uses: actions/upload-artifact@v2
6969
with:
7070
name: ${{ steps.vars.outputs.PKG_BASENAME }}
71-
path: ${{ env.BIN_DIR }}
71+
path: |
72+
${{ env.BIN_DIR }}
73+
main.lua
74+
debugger.lua
75+
LICENSE
76+
changelog.md
77+
locale
78+
meta
79+
script
7280
7381
- name: Package tarballs
7482
if: startsWith(github.ref, 'refs/tags/')
@@ -81,7 +89,7 @@ jobs:
8189
mkdir -p ${STAGING}
8290
8391
# Copying binary and runtime files to staging area
84-
cp -r main.lua debugger.lua locale meta script ${{ env.BIN_DIR }} ${STAGING}
92+
cp -r main.lua debugger.lua LICENSE changelog.md locale meta script ${{ env.BIN_DIR }} ${STAGING}
8593
8694
# Creating release assets
8795
pushd "${STAGING}/" >/dev/null

0 commit comments

Comments
 (0)