taiki-e / create-gh-release-action

GitHub Action for creating GitHub Releases based on changelog.
Apache License 2.0
72 stars 11 forks source link

how to compile under centos #28

Closed muziling closed 1 year ago

muziling commented 1 year ago

user follow yml

  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