Skip to content

Commit 4cb5f44

Browse files
committed
ci: configure the installation path for fingerprinting without profile for windows
1 parent 57784eb commit 4cb5f44

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,11 @@ jobs:
4848
matrix:
4949
include:
5050
- os: ubuntu-latest
51+
path: echo "$HOME/.slack/bin" >> "$GITHUB_PATH"
5152
script: ./scripts/install.sh
5253
- os: windows-latest
53-
script: |
54-
& ./scripts/install-windows.ps1
54+
path: Add-Content -Path $env:GITHUB_PATH -Value "$env:USERPROFILE\.slack\bin"
55+
script: ./scripts/install-windows.ps1
5556
runs-on: ${{ matrix.os }}
5657
permissions:
5758
contents: read
@@ -60,6 +61,8 @@ jobs:
6061
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
6162
with:
6263
persist-credentials: false
64+
- name: Configure the path
65+
run: ${{ matrix.path }}
6366
- name: Attempt the installation
6467
run: ${{ matrix.script }}
6568

0 commit comments

Comments
 (0)