upload-assets:
runs-on: ubuntu-latest
container: centos:7
steps:
- uses: actions/checkout@v3
- name: Initialization environment
run: |
yum install -y libpcap-devel
- uses: taiki-e/upload-rust-binary-action@v1
with:
# (required) Comma-separated list of binary names (non-extension portion of filename) to build and upload.
# Note that glob pattern is not supported yet.
bin: mytest
# (required) GitHub token for uploading assets to GitHub Releases.
token: ${{ secrets.GITHUB_TOKEN }}
github action got error
Run bash --noprofile --norc "${GITHUB_ACTION_PATH:?}/main.sh"
/__w/_actions/taiki-e/upload-rust-binary-action/v1/main.sh: line 120: rustc: command not found
user follow yml
github action got error