Skip to content

Commit 6486302

Browse files
authored
fix(ci): release file path
1 parent d279cd7 commit 6486302

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ jobs:
6262
steps:
6363
- name: Download artifacts
6464
uses: actions/download-artifact@v5
65+
with:
66+
name: ${{ runner.os }}
67+
path: artifacts
6568

6669
- name: Versioning
6770
run: |
@@ -73,12 +76,11 @@ jobs:
7376
7477
- name: Package
7578
run: |
79+
cd artifacts
7680
ls -Rall
77-
if [ -d "./Linux/" ]; then
78-
cd ./Linux/
79-
tar -czf ../${{ github.event.repository.name }}-${{ env.RELEASE_VERSION }}.tar.gz -T <(\ls -1)
80-
cd -
81-
fi
81+
tar -czf ../${{ github.event.repository.name }}-${{ env.RELEASE_VERSION }}.tar.gz .
82+
cd ..
83+
ls -la *.tar.gz
8284
8385
- name: Release
8486
uses: svenstaro/upload-release-action@v2
@@ -87,4 +89,4 @@ jobs:
8789
file: '*.tar.gz'
8890
tag: ${{ env.RELEASE_VERSION }}
8991
file_glob: true
90-
overwrite: true
92+
overwrite: true

0 commit comments

Comments
 (0)