mirror of
https://github.com/actions/cache.git
synced 2025-07-12 19:41:49 +02:00
Update workflows to use reusable-workflows (#1066)
* Update workflows to use reusable-workflows Signed-off-by: jongwooo <jongwooo.han@gmail.com> * fix: Update the out-of-date metadata files Signed-off-by: jongwooo <jongwooo.han@gmail.com> Signed-off-by: jongwooo <jongwooo.han@gmail.com> Co-authored-by: Shubham Tiwari <64764738+tiwarishub@users.noreply.github.com>
This commit is contained in:
17
.github/workflows/licensed.yml
vendored
17
.github/workflows/licensed.yml
vendored
@ -7,18 +7,9 @@ on:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
name: Check licenses
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- run: npm ci
|
||||
- name: Install licensed
|
||||
run: |
|
||||
cd $RUNNER_TEMP
|
||||
curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/2.12.2/licensed-2.12.2-linux-x64.tar.gz
|
||||
sudo tar -xzf licensed.tar.gz
|
||||
sudo mv licensed /usr/local/bin/licensed
|
||||
- run: licensed status
|
||||
call-licensed:
|
||||
name: Licensed
|
||||
uses: actions/reusable-workflows/.github/workflows/licensed.yml@main
|
||||
|
Reference in New Issue
Block a user