fetch

Reference docs for the fetch melange pipeline

Fetch and extract external object into workspace

Dependencies

  • wget

Reference

InputDescription
strip-componentsThe number of path components to strip while extracting. Default is set to 1
extractWhether to extract the downloaded artifact as a source tarball. Default is set to true
expected-sha256The expected SHA256 of the downloaded artifact.
expected-sha512The expected SHA512 of the downloaded artifact.
uri*The URI to fetch as an artifact.

Example

pipeline:
  - uses: fetch
    with:
      uri: https://www.php.net/distributions/php-${{package.version}}.tar.gz
      expected-sha256: 3660e8408321149f5d382bb8eeb9ea7b12ea8dd7ea66069da33f6f7383750ab2

Last updated: 2022-11-01 11:07