Skip to content

Commit 274f4df

Browse files
committed
upload file
1 parent 1fae7c9 commit 274f4df

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/rust.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -220,12 +220,14 @@ jobs:
220220
mv ./README ./artifacts/README.txt
221221
cd ./artifacts
222222
tar -czf vnt-$TARGET-$TAG.tar.gz *
223+
mkdir upload_file
224+
mv vnt-$TARGET-$TAG.tar.gz ./upload_file/
223225
- name: Archive artifact
224226
uses: actions/upload-artifact@v4
225227
with:
226228
name: vnt-cli-${{ matrix.TARGET }}
227229
path: |
228-
./artifacts
230+
./artifacts/upload_file
229231
# deploys to github releases on tag
230232
deploy:
231233
if: startsWith(github.ref, 'refs/tags/')
@@ -235,15 +237,14 @@ jobs:
235237
- name: Download artifacts
236238
uses: actions/download-artifact@v4
237239
with:
238-
name: vnt-cli-${{ matrix.TARGET }}
239240
path: ./artifacts
240241
- name: List
241242
run: find ./artifacts
242243
- name: Release
243244
uses: svenstaro/upload-release-action@v2
244245
with:
245246
repo_token: ${{ secrets.YOURTOKEN }}
246-
file: ./artifacts/*.tar.gz
247+
file: ./artifacts/**/*.tar.gz
247248
tag: ${{ github.ref }}
248249
overwrite: true
249250
file_glob: true

0 commit comments

Comments
 (0)