ci: Use GITHUB_OUTPUT envvar instead of set-output command #557
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: license | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Golang | |
uses: actions/setup-go@v2 | |
- name: Install addlicense | |
run: | | |
export PATH=${PATH}:`go env GOPATH`/bin | |
go get -v -u github.com/google/addlicense | |
- name: Check license | |
run: | | |
export PATH=${PATH}:`go env GOPATH`/bin | |
addlicense -check -l mit -c "Amundsen" $(find $PWD -type f -name '*.py') |