File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 - uses : actions/checkout@v2
1818 - name : Build for Linux
1919 # uses: actions/checkout@v4
20- run : cargo build --release; sudo apt install gcc-mingw-w64; rustup target add x86_64-pc-windows-gnu; cargo build --release --target x86_64-pc-windows-gnu; tar cvfj rjq_linux_amd64 .tar.gz target/release/rjq; tar cvfj rjq_win_x86_64.zip target/x86_64-pc-windows-gnu/release/rjq.exe; rm -rf target/
20+ run : rustup target add x86_64-unknown-linux-musl; cargo build --release --target x86_64-unknown-linux-musl ; sudo apt install gcc-mingw-w64; rustup target add x86_64-pc-windows-gnu; cargo build --release --target x86_64-pc-windows-gnu; tar cvfj rjq_linux_x86_64 .tar.gz target/x86_64-unknown-linux-musl /release/rjq; tar cvfj rjq_win_x86_64.zip target/x86_64-pc-windows-gnu/release/rjq.exe; rm -rf target/
2121 - name : Create Release
2222 id : create_release
2323 uses : actions/create-release@v1
3939 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4040 with :
4141 upload_url : ${{ steps.create_release.outputs.upload_url }}
42- asset_path : ./rjq_linux_amd64 .tar.gz
43- asset_name : rjq_linux_amd64 .tar.gz
42+ asset_path : ./rjq_linux_x86_64 .tar.gz
43+ asset_name : rjq_linux_x86_64 .tar.gz
4444 asset_content_type : application/x-tar
4545 - name : Upload Release Asset Windows
4646 id : upload-release-asset-windows
You can’t perform that action at this time.
0 commit comments