File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -33,23 +33,27 @@ jobs:
3333 steps :
3434 - uses : actions/checkout@v3
3535
36- - name : Install Rust
36+ - name : Install rust
3737 uses : actions-rust-lang/setup-rust-toolchain@v1
3838 with :
3939 toolchain : stable
4040 target : ${{ matrix.target }}
4141 override : true
4242
43- - name : Build Release
43+ - name : Build release
4444 run : cargo build --release --target ${{ matrix.target }}
4545
46- - name : Upload Artifact
46+ - name : Upload artifact
4747 uses : actions/upload-artifact@v4
4848 with :
4949 name : byte-knight-${{ matrix.target }}${{ matrix.extension }}
5050 path : ./target/${{ matrix.target }}/release/${{ matrix.artifact_name }}
5151 retention-days : 1
52+
53+ - name : Copy artifact
54+ run : cp ./target/${{ matrix.target }}/release/${{ matrix.artifact_name }} ./target/${{ matrix.artifact_name }}-${{matrix.target}}${{ matrix.extension }}
55+
5256 - name : Upload to release
5357 uses : softprops/action-gh-release@v2
5458 with :
55- files : ./target/${{ matrix.target }}/release/ ${{ matrix.artifact_name }}${{ matrix.extension }}
59+ files : ./target/${{ matrix.artifact_name }}- ${{matrix.target }}${{ matrix.extension }}
You can’t perform that action at this time.
0 commit comments