mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-04-23 13:06:17 +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:
parent
22cbf49050
commit
4791017169
5 changed files with 12 additions and 54 deletions
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue