Skip to content

Commit 64878c4

Browse files
authored
fix(ci): release file path
1 parent abdfbe6 commit 64878c4

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ jobs:
6060
steps:
6161
- name: Download artifacts
6262
uses: actions/download-artifact@v5
63+
with:
64+
name: ${{ runner.os }}
65+
path: artifacts
6366

6467
- name: Versioning
6568
run: |
@@ -71,12 +74,11 @@ jobs:
7174
7275
- name: Package
7376
run: |
77+
cd artifacts
7478
ls -Rall
75-
if [ -d "./Linux/" ]; then
76-
cd ./Linux/
77-
tar -czf ../${{ github.event.repository.name }}-${{ env.RELEASE_VERSION }}.tar.gz -T <(\ls -1)
78-
cd -
79-
fi
79+
tar -czf ../${{ github.event.repository.name }}-${{ env.RELEASE_VERSION }}.tar.gz .
80+
cd ..
81+
ls -la *.tar.gz
8082
8183
- name: Release
8284
uses: svenstaro/upload-release-action@v2

0 commit comments

Comments
 (0)