Skip to content

Commit

Permalink
fix(ci): only support win64 for now
Browse files Browse the repository at this point in the history
  • Loading branch information
kkoomen committed Oct 27, 2020
1 parent cab3446 commit cd4a7fb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- os: windows-latest
target: win
asset_name: vim-doge-win64.zip
asset_path: ./bin/vim-doge-win.zip
asset_path: ./bin/vim-doge-win64.zip
runs-on : ${{ matrix.os }}
steps:
- name: Checkout kkoomen/vim-doge
Expand Down
9 changes: 4 additions & 5 deletions scripts/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,10 @@ node "$rootDir\pkg\lib-es5\bin.js" . -t "$buildTarget" --out-path "$rootDir\bin"

# Archive the binary.
if ($outFile -ne "") {
$outFile = "$outFile.zip"
cd "$rootDir\bin"
rm *.zip
echo "==> Archiving $rootDir\bin\vim-doge.exe -> $rootDir\bin\$outFile"
7z a -tzip "$outFile" vim-doge.exe
$outFile = "$rootDir\bin\$outFile$winVersion.zip"
rm $rootDir\bin\*.zip
echo "==> Archiving $rootDir\bin\vim-doge.exe -> $outFile"
7z a -tzip "$outFile" "$rootDir\bin\vim-doge.exe"
}

echo "Done building vim-doge binaries"

0 comments on commit cd4a7fb

Please sign in to comment.