Skip to content

Commit c36116c

Browse files
authored
Fix the workflow to use licensed from source
1 parent 320fe7d commit c36116c

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/licensed.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,19 @@ jobs:
2121
- name: Install dependencies
2222
run: npm ci --ignore-scripts
2323

24+
- name: Set up Ruby
25+
uses: ruby/setup-ruby@v1
26+
with:
27+
ruby-version: '3.1.7'
28+
2429
- name: Install licensed tool
2530
run: |
26-
brew install [email protected]
31+
cd "$RUNNER_TEMP"
32+
curl -Lfs -o licensed.tar.gz https://github.com/licensee/licensed/archive/refs/tags/v5.0.4.tar.gz
33+
tar -xzf licensed.tar.gz
34+
cd licensed-5.0.4
35+
bundle install
2736
2837
- name: Check cached dependency records
29-
run: licensed status
38+
working-directory: ${{ github.workspace }}
39+
run: $RUNNER_TEMP/licensed-5.0.4/exe/licensed status

0 commit comments

Comments
 (0)