Skip to content

fix path to source

fix path to source #2

Workflow file for this run

name: Fetch Licenses
on:
workflow_dispatch: # Allows manual triggering of the workflow
schedule:
- cron: '0 0 * * *' # Runs at midnight ET
push:
branches:
- elr/update-licenses
jobs:
fetch-licenses:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Checkout SPDX Repository
uses: actions/checkout@v2
with:
repository: spdx/license-list-data
path: spdx-license-list-data
- name: Copy Licenses
run: |
cp spdx-license-list-data/json/licenses.json cmd/licenses.json
cp spdx-license-list-data/json/exceptions.json cmd/exceptions.json