File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1919 - name : Run tests
2020 run : cargo test
2121 - name : Build
22- run : cargo build --profile release
22+ run : cargo build -r --target x86_64-unknown-linux-gnu
2323 - name : Publish to crates.io
2424 env :
2525 CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
2828 env :
2929 GH_TOKEN : ${{ secrets.GH_TOKEN }}
3030 run : |
31+ cp target/release/http_status_code_check target/release/http_status_code_check-x86_64-unknown-linux-gnu
3132 ver=$(cat Cargo.toml | grep -e '^version = ".*"$' | sed 's/version = "\(.*\)"/\1/')
32- gh release create -d --title v$ver --notes-file RELEASE.md $ver target/release/http_status_code_check
33+ gh release create -d --title v$ver --notes-file RELEASE.md $ver target/release/http_status_code_check-x86_64-unknown-linux-gnu
You can’t perform that action at this time.
0 commit comments