Fossa attribution report #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Fossa attribution report | |
on: | |
workflow_dispatch | |
jobs: | |
attribution: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: fossas/fossa-action@main | |
with: | |
api-key: ${{ secrets.FOSSA_API_KEY }} | |
- name: Create Attribution | |
run: FOSSA_API_KEY=${{ secrets.FOSSA_API_KEY }} fossa report attribution --format spdx > ATTRIBUTION.spdx | |
- name: Authneticate with Google Cloud | |
uses: google-github-actions/auth@v1 | |
with: | |
credentials_json: ${{ secrets.GCP_BUILDER_SERVICE_ACCOUNT_KEY }} | |
- name: Set up Cloud SDK | |
uses: google-github-actions/setup-gcloud@v1 | |
- name: Push to GCS | |
run: gsutil cp ATTRIBUTION.spdx gs://tabnine-attributions/${{ github.event.repository.name }}.spdx |