From c36116c3f4852e9868973e98be949d101f296afa Mon Sep 17 00:00:00 2001 From: Bassem Dghaidi <568794+Link-@users.noreply.github.com> Date: Wed, 6 Aug 2025 13:10:06 -0700 Subject: [PATCH] Fix the workflow to use licensed from source --- .github/workflows/licensed.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/licensed.yml b/.github/workflows/licensed.yml index 2f2b570..f745653 100644 --- a/.github/workflows/licensed.yml +++ b/.github/workflows/licensed.yml @@ -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 licensed@5.0.4 + 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