Skip to content

Update to latest Mountpoint client crates (#212) #6

Update to latest Mountpoint client crates (#212)

Update to latest Mountpoint client crates (#212) #6

name: Generate THIRD-PARTY-LICENSES
on:
push:
tags: [ "v[0-9]+.[0-9]+.[0-9]+" ]
branches: [ "dependabot/*", "main", "workflow/*" ]
workflow_call:
outputs:
artifact_name:
description: "The created artifact name for ORT results"
value: ${{ jobs.generate_third_party_licenses.outputs.artifact_name }}
jobs:
generate_third_party_licenses:
name: Generate NOTICE_DEFAULT file
runs-on: ubuntu-20.04
outputs:
artifact_name: ${{ steps.artifact_name.outputs.artifact_name }}
steps:
- uses: actions/checkout@v4
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pipreqs safety
# Added to fix AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'
python -m pip install -U urllib3 requests
- name: Generate requirements
run: |
pipreqs s3torchconnectorclient
pipreqs s3torchconnector
- name: Generate NOTICE_DEFAULT file
id: ort-action
# https://github.com/oss-review-toolkit/ort-ci-github-action/issues/28
uses: oss-review-toolkit/ort-ci-github-action@7f23c1f8d169dad430e41df223d3b8409c7a156e
with:
ort-cli-report-args: -f PlainTextTemplate
run: >
cache-dependencies,
labels,
analyzer,
reporter,
upload-results
sw-version: "-"
- name: Export artifact name
id: artifact_name
run: |
echo "artifact_name=${ORT_RESULTS_ARTIFACT_NAME}" >> $GITHUB_OUTPUT