Skip to content

Commit f003f38

Browse files
committed
Try fix path
1 parent 5337391 commit f003f38

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,10 @@ 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 --version
117+
echo "/opt/dfetch" >> $GITHUB_PATH
115118
shell: bash
116119

117120
- name: Install binary
@@ -120,14 +123,15 @@ jobs:
120123
ls -la .
121124
sudo installer -pkg dfetch-package/dfetch*.pkg -target / -verboseR
122125
ls -la /opt/dfetch
123-
sudo ln -s /opt/dfetch/dfetch-0.10.0_x86_64 /opt/dfetch/dfetch
126+
sudo ln -s /opt/dfetch/dfetch-* /opt/dfetch/dfetch
127+
which dfetch
128+
dfetch --version
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)