Skip to content

Commit 2d967ff

Browse files
committed
Use native tar to create release archive in github workflow
1 parent 7f9a5cb commit 2d967ff

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,7 @@ jobs:
4343
issuesWoLabels: "true"
4444
stripHeaders: "true"
4545
- name: Create release archive
46-
uses: a7ul/[email protected]
47-
id: compress
48-
with:
49-
command: c
50-
cwd: ./build
51-
files: |
52-
*
53-
outPath: zenml-dashboard.tar.gz
46+
run: tar -zcf zenml-dashboard.tar.gz -C build --transform="s#\.\/##" .
5447
- name: Release to GitHub
5548
uses: softprops/action-gh-release@v1
5649
with:

0 commit comments

Comments
 (0)