Skip to content

Commit b7eca28

Browse files
committed
fix github actions workflow file for fossa
1 parent 9d613c3 commit b7eca28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/fossa.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install.sh | bash
2121
fossa init
2222
- name: Set env
23-
run: echo ::set-env name=line_number::$(grep -n "project" .fossa.yml | cut -f1 -d:)
23+
run: echo "line_number=$(grep -n "project" .fossa.yml | cut -f1 -d:)" >> $GITHUB_ENV
2424
- name: Configuration
2525
run: |-
2626
sed -i "${line_number}s|.*| project: [email protected]:${GITHUB_REPOSITORY}.git|" .fossa.yml

0 commit comments

Comments
 (0)