Skip to content

Commit 43b8e31

Browse files
authored
Update gitleaks.yaml
1 parent ac8a718 commit 43b8e31

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/gitleaks.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,16 @@ jobs:
2929
run: |
3030
sudo apt update
3131
sudo apt install -y mono-complete
32-
- name: Install the dotnet
32+
# - name: Install the dotnet
33+
# if: steps.gitleaks.outcome != 'success'
34+
# uses: actions/setup-dotnet@v3
35+
# with:
36+
# dotnet-version: '3.1.x'
37+
- name: Install the dotnet SDK to a custom directory
3338
if: steps.gitleaks.outcome != 'success'
34-
uses: actions/setup-dotnet@v3
35-
with:
36-
dotnet-version: '3.1.x'
39+
run: |
40+
mkdir -p $GITHUB_WORKSPACE/dotnet
41+
curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --install-dir $GITHUB_WORKSPACE/dotnet --channel 3.1
3742
- name: Install the report tool packages
3843
if: steps.gitleaks.outcome != 'success'
3944
run: |

0 commit comments

Comments
 (0)