Skip to content

Commit 1a70998

Browse files
committedJan 22, 2025
🔧 Try gathering lib files
1 parent f80fa15 commit 1a70998

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed
 

‎.github/workflows/release.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,16 @@ jobs:
2424
- name: Build package
2525
run: npm run build
2626

27+
- name: Gather assets
28+
id: assets
29+
run: |
30+
LIB_FILES="lib/**/*.*"
31+
echo "::set-output name=lib_files::$LIB_FILES"
32+
2733
- name: Create release tarball
2834
id: create_tarball
2935
run: |
30-
tar -czvf lib/${{ github.ref_name }}.tgz lib/
36+
tar -czvf lib/${{ github.ref_name }}.tgz ${{ steps.assets.outputs.lib_files }}
3137
3238
- name: Upload release asset
3339
uses: actions/upload-release-asset@v1

0 commit comments

Comments
 (0)