Skip to content

Commit

Permalink
chore: update github actions workflow files for fossa scans to use in…
Browse files Browse the repository at this point in the history
…stall users home directory (#215)
  • Loading branch information
dustincrogers committed Aug 23, 2021
1 parent dc9c73c commit 47faa55
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/fossa.yml
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- master
- chore/fossa-workflow

defaults:
run:
Expand All @@ -15,10 +16,14 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- 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
Expand Down

0 comments on commit 47faa55

Please sign in to comment.