taiki-e / upload-rust-binary-action

GitHub Action for building and uploading Rust binary to GitHub Releases.
Apache License 2.0
246 stars 22 forks source link

support post run scripts #82

Open Vrtgs opened 3 months ago

Vrtgs commented 3 months ago

this is useful for example for with use with a packer, such as UPX

taiki-e commented 2 months ago

To be honest, I personally am not very happy with allowing execution of arbitrary code.

If there is really no other way to support it then I guess we have no choice...

Vrtgs commented 2 months ago

To be honest, I personally am not very happy with allowing execution of arbitrary code.

I mean build scripts are already a thing soooo

ahaoboy commented 1 month ago

https://github.com/taiki-e/upload-rust-binary-action/issues/85

If support uploading artifacts, there is a solution

- uses: taiki-e/upload-rust-binary-action@v1
  with:
    dry-run: true
    artifact: true

- uses: actions/download-artifact@v4
- some post scripts
- uses: softprops/action-gh-release@v2