File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,39 +41,16 @@ jobs:
4141 - name : Package (Unix)
4242 if : matrix.os != 'windows-latest'
4343 run : |
44- cd target/${{ matrix.target }}/release
45- tar czf ../../../tensorterm-${{ matrix.target }}.tar.gz tensorterm
46- cd ../../..
44+ tar czf tensorterm-${{ matrix.target }}.tar.gz -C target/${{ matrix.target }}/release tensorterm
4745
4846 - name : Package (Windows)
4947 if : matrix.os == 'windows-latest'
5048 shell : bash
5149 run : |
5250 cd target/${{ matrix.target }}/release
5351 7z a ../../../tensorterm-${{ matrix.target }}.zip tensorterm.exe
54- cd ../../..
55-
56- - name : Upload artifact
57- uses : actions/upload-artifact@v4
58- with :
59- name : tensorterm-${{ matrix.target }}
60- path : tensorterm-${{ matrix.target }}.*
61-
62- release :
63- needs : build
64- runs-on : ubuntu-latest
65-
66- steps :
67- - uses : actions/checkout@v4
68-
69- - name : Download all artifacts
70- uses : actions/download-artifact@v4
71- with :
72- path : artifacts
73- merge-multiple : true
7452
75- - name : Create GitHub Release
53+ - name : Upload to release
7654 uses : softprops/action-gh-release@v2
7755 with :
78- generate_release_notes : true
79- files : artifacts/*
56+ files : tensorterm-${{ matrix.target }}.*
You can’t perform that action at this time.
0 commit comments