Skip to content

artichoke/generate_third_party

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

generate_third_party

GitHub Actions Discord Twitter

Generate listings of third party dependencies and their licenses for copyright attribution in distributed Artichoke binaries.

Usage

To generate a THIRDPARTY text file for all targets Artichoke supports:

bundle exec generate-third-party-text-file path/to/artichoke/Cargo.toml

To generate a THIRDPARTY text file for a single target triple:

bundle exec generate-third-party-text-file-single-target \
  --target x86_64-unknown-linux-gnu \
  path/to/artichoke/Cargo.toml

GitHub Actions

This repository is available as a GitHub Action:

- name: Generate THIRDPARTY license listing
  id: generate_third_party
  uses: artichoke/[email protected]
  with:
    artichoke_ref: trunk
    target_triple: x86_64-unknown-linux-gnu
    output_file: ${{ github.workspace }}/THIRDPARTY
    github_token: ${{ secrets.GITHUB_TOKEN }}

Supported Targets

generate_third_party supports all tier 1 Rust platforms and tier 2 MUSL targets.

  • aarch64-apple-darwin
  • aarch64-unknown-linux-gnu
  • aarch64-unknown-linux-musl
  • i686-pc-windows-gnu
  • i686-pc-windows-msvc
  • i686-unknown-linux-gnu
  • x86_64-apple-darwin
  • x86_64-pc-windows-gnu
  • x86_64-pc-windows-msvc
  • x86_64-unknown-linux-gnu
  • x86_64-unknown-linux-musl