mirror of
https://github.com/emmansun/gmsm.git
synced 2025-06-28 00:13:26 +08:00
Create licenses.yml
This commit is contained in:
parent
b138828e9d
commit
1a005fa41b
21
.github/workflows/licenses.yml
vendored
Normal file
21
.github/workflows/licenses.yml
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
name: Update License File
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
paths:
|
||||
- 'go.mod'
|
||||
- 'go.sum'
|
||||
|
||||
jobs:
|
||||
update-licenses:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.23'
|
||||
- name: Install go-licenses
|
||||
run: go install github.com/google/go-licenses@latest
|
||||
- name: Generate license files
|
||||
run: |
|
||||
go-licenses report github.com/emmansun/gmsm > third-party-licenses.md
|
Loading…
x
Reference in New Issue
Block a user