Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
book

GitHub Action

Generate THIRDPARTY

v1.3.0

Generate THIRDPARTY

book

Generate THIRDPARTY

Generate license listing of third party dependencies in Artichoke Ruby

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Generate THIRDPARTY

uses: artichoke/[email protected]

Learn more about this action in artichoke/generate_third_party

Choose a version

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