Skip to content

Commit 7d7b874

Browse files
committed
Try fix path
1 parent 5337391 commit 7d7b874

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,23 +111,27 @@ jobs:
111111
sudo dpkg -i dfetch-package/dfetch*.deb
112112
sudo dpkg -L dfetch
113113
ls -la /opt/dfetch
114-
sudo ln -s /opt/dfetch/dfetch-0.10.0_x86_64 /usr/bin/dfetch
114+
sudo ln -s /opt/dfetch/dfetch-* /usr/bin/dfetch
115+
which dfetch
116+
dfetch environment
117+
echo "/opt/dfetch" >> $GITHUB_PATH
115118
shell: bash
116119

117120
- name: Install binary
118121
if: matrix.platform == 'macos-latest'
119122
run: |
120123
ls -la .
121124
sudo installer -pkg dfetch-package/dfetch*.pkg -target / -verboseR
122-
ls -la /opt/dfetch
123-
sudo ln -s /opt/dfetch/dfetch-0.10.0_x86_64 /opt/dfetch/dfetch
125+
find /opt/dfetch -type f
126+
sudo ln -s /opt/dfetch/dfetch-* /opt/dfetch/dfetch
127+
which dfetch
128+
dfetch environment
124129
echo "/opt/dfetch" >> $GITHUB_PATH
125130
shell: bash
126131

127132
- name: Install binary
128133
if: matrix.platform == 'windows-latest'
129134
run: |
130-
tree /f
131135
msiexec /i "dfetch-package\\dfetch.msi" /qn
132136
shell: pwsh
133137

0 commit comments

Comments
 (0)