Commit c36116c3 authored by Bassem Dghaidi's avatar Bassem Dghaidi Committed by GitHub
Browse files

Fix the workflow to use licensed from source

parent 320fe7d5
Loading
Loading
Loading
Loading
+12 −2
Changes for .github/workflows/licensed.yml: 12 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -21,9 +21,19 @@ jobs:
      - name: Install dependencies
        run: npm ci --ignore-scripts

      - name: Set up Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: '3.1.7'

      - name: Install licensed tool
        run: |
          brew install [email protected]
          cd "$RUNNER_TEMP"
          curl -Lfs -o licensed.tar.gz https://github.com/licensee/licensed/archive/refs/tags/v5.0.4.tar.gz
          tar -xzf licensed.tar.gz
          cd licensed-5.0.4
          bundle install

      - name: Check cached dependency records
        run: licensed status
 No newline at end of file
        working-directory: ${{ github.workspace }}
        run: $RUNNER_TEMP/licensed-5.0.4/exe/licensed status
 No newline at end of file