Skip to content
This repository was archived by the owner on Nov 15, 2024. It is now read-only.

Commit f99798c

Browse files
maxrakelouislang
authored andcommitted
ci: Use sed in a replace manner instead of add
1 parent 83e0a90 commit f99798c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ runs:
4949
run: |
5050
export PATH="$HOME/.phylum:$PATH"
5151
phylum version
52-
sed -i "5 a \ offline_access: ${{ inputs.phylum_token }}" ~/.phylum/settings.yaml
52+
sed -i "s/offline_access:.*/offline_access: ${{ inputs.phylum_token }}/" ~/.phylum/settings.yaml
5353
echo "[*] Configured phylum-cli with token"
5454
5555
- name: Test phylum

0 commit comments

Comments
 (0)