Skip to content

Commit

Permalink
fix(LicensePlist)
Browse files Browse the repository at this point in the history
set github token if present.
  • Loading branch information
jhheider committed Jan 27, 2025
1 parent 46e336b commit 94e14e0
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions projects/github.com/mono0926/LicensePlist/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ provides:
- bin/license-plist

test:
- echo 'github "realm/realm-swift" "v10.20.2"' > Cartfile.resolved
- license-plist --suppress-opening-directory
- license-plist --suppress-opening-directory | grep 'None 🎉'
script:
- test ! -z "${LICENSE_PLIST_GITHUB_TOKEN}" || unset LICENSE_PLIST_GITHUB_TOKEN
- echo 'github "realm/realm-swift" "v10.20.2"' > Cartfile.resolved
- license-plist --suppress-opening-directory | tee out
- grep 'None 🎉' out
env:
LICENSE_PLIST_GITHUB_TOKEN: $GITHUB_TOKEN

0 comments on commit 94e14e0

Please sign in to comment.