File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -105,30 +105,25 @@ jobs:
105105 name : binary-distribution-${{ matrix.platform }}
106106 path : .
107107
108- - name : Prepare binary
108+ - name : Install binary
109109 if : matrix.platform == 'ubuntu-latest'
110110 run : |
111111 ls -la .
112- binary=$(ls dfetch-*-x86_64)
113- ln -sf "$binary" dfetch
114- chmod +x dfetch
112+ dpkg -i dfetch-package/dfetch*.deb
115113 shell : bash
116114
117- - name : Prepare binary
115+ - name : Install binary
118116 if : matrix.platform == 'macos-latest'
119117 run : |
120118 ls -la .
121- binary=$(ls dfetch-*-osx)
122- ln -sf "$binary" dfetch
123- chmod +x dfetch
119+ installer -pkg dfetch-package/dfetch*.pkg -target ~
124120 shell : bash
125121
126- - name : Prepare binary on Windows
122+ - name : Install binary
127123 if : matrix.platform == 'windows-latest'
128124 run : |
129- Get-ChildItem
130- $binary = Get-ChildItem dfetch-*.exe | Select-Object -First 1
131- Copy-Item $binary -Destination dfetch.exe -Force
125+ tree /f
126+ msiexec /i "dfetch-package\\dfetch.msi" /qn
132127 shell : pwsh
133128
134129 - run : ./dfetch init
You can’t perform that action at this time.
0 commit comments