diff --git a/.github/workflows/fossa.yml b/.github/workflows/fossa.yml index 101ab753..653d7dab 100644 --- a/.github/workflows/fossa.yml +++ b/.github/workflows/fossa.yml @@ -4,7 +4,7 @@ on: push: branches: - master - - chore/test_fossa + - chore/fossa-workflow defaults: run: @@ -16,12 +16,14 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 - - name: Update fossa permissions - run: sudo chmod -R 755 /usr/local/bin - - name: Fossa init + - name: Download fossa cli run: |- - curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install.sh | bash - fossa init + mkdir -p $HOME/.local/bin + curl https://raw.githubusercontent.com/fossas/fossa-cli/master/install.sh | bash -s -- -b $HOME/.local/bin + echo "$HOME/.local/bin" >> $GITHUB_PATH + + - name: Fossa init + run: fossa init - name: Set env run: echo "line_number=$(grep -n "project" .fossa.yml | cut -f1 -d:)" >> $GITHUB_ENV - name: Configuration