action-setup-vim icon indicating copy to clipboard operation
action-setup-vim copied to clipboard

Failed to install neovim nightly binary

Open zchee opened this issue 4 years ago • 2 comments

Problem

Currently, install neovim nightly binary was failed, like:

  • https://github.com/neovim/go-client/actions/runs/1274468944

Neovim has switched the nightly binary release to GitHub Action rather than the release page (branch).

  • https://github.com/neovim/neovim/releases/tag/nightly
  • https://github.com/neovim/neovim/actions/workflows/release.yml?query=branch:master

Solution

Find the latest results for Neovim's GitHub Actions Release workflow, and fetch the binary tarball from the artifact url.

e.g.,

  • https://github.com/neovim/neovim/actions/runs/1272246659

Note that the above actions failed but artifact tarballs are valid (I don't know why), I confirmed like below. Also note, from the GitHub Actions spec(?), when runs the next cron workflow, the old (but actually latest until done running workflows) artifact url will Expired. This behavior is annoying a bit...

$ tree -L 3 /path/to/expand/nvim-linux64.zip/nvim-linux64
/path/to/expand/nvim-linux64.zip/nvim-linux64
├── bin
│   └── nvim
├── lib
│   └── nvim
│       └── parser
└── share
    ├── applications
    │   └── nvim.desktop
    ├── icons
    │   └── hicolor
    ├── locale
    │   ├── af
    │   ├── ca
    │   ├── cs
    │   ├── cs.cp1250
    │   ├── da
    │   ├── de
    │   ├── en_GB
    │   ├── eo
    │   ├── es
    │   ├── fi
    │   ├── fr
    │   ├── ga
    │   ├── it
    │   ├── ja
    │   ├── ja.euc-jp
    │   ├── ko.UTF-8
    │   ├── nb
    │   ├── nl
    │   ├── no
    │   ├── pl.UTF-8
    │   ├── pt_BR
    │   ├── ru
    │   ├── sk
    │   ├── sk.cp1250
    │   ├── sv
    │   ├── tr
    │   ├── uk
    │   ├── vi
    │   ├── zh_CN.UTF-8
    │   └── zh_TW.UTF-8
    ├── man
    │   └── man1
    └── nvim
        └── runtime
$ tree -L 3 /path/to/expand/nvim-osx64.zip/nvim-osx64
/path/to/expand/nvim-osx64.zip/nvim-osx64
├── bin
│   └── nvim
├── lib
│   └── nvim
│       └── parser
├── libs
│   ├── libiconv.2.dylib
│   ├── libintl.8.dylib
│   └── libutil.dylib
└── share
    ├── locale
    │   ├── af
    │   ├── ca
    │   ├── cs
    │   ├── cs.cp1250
    │   ├── da
    │   ├── de
    │   ├── en_GB
    │   ├── eo
    │   ├── es
    │   ├── fi
    │   ├── fr
    │   ├── ga
    │   ├── it
    │   ├── ja
    │   ├── ja.euc-jp
    │   ├── ko.UTF-8
    │   ├── nb
    │   ├── nl
    │   ├── no
    │   ├── pl.UTF-8
    │   ├── pt_BR
    │   ├── ru
    │   ├── sk
    │   ├── sk.cp1250
    │   ├── sv
    │   ├── tr
    │   ├── uk
    │   ├── vi
    │   ├── zh_CN.UTF-8
    │   └── zh_TW.UTF-8
    ├── man
    │   └── man1
    └── nvim
        └── runtime
$ tree -L 3 /path/to/expand/nvim-win64.zip/Neovim
/path/to/expand/nvim-win64.zip/Neovim
├── bin
│   ├── D3Dcompiler_47.dll
│   ├── Qt5Core.dll
│   ├── Qt5Gui.dll
│   ├── Qt5Network.dll
│   ├── Qt5Svg.dll
│   ├── Qt5Widgets.dll
│   ├── bearer
│   │   └── qgenericbearer.dll
│   ├── curl-ca-bundle.crt
│   ├── curl.exe
│   ├── diff.exe
│   ├── iconengines
│   │   └── qsvgicon.dll
│   ├── imageformats
│   │   ├── qgif.dll
│   │   ├── qicns.dll
│   │   ├── qico.dll
│   │   ├── qjpeg.dll
│   │   ├── qsvg.dll
│   │   ├── qtga.dll
│   │   ├── qtiff.dll
│   │   ├── qwbmp.dll
│   │   └── qwebp.dll
│   ├── libEGL.dll
│   ├── libGLESV2.dll
│   ├── libgcc_s_dw2-1.dll
│   ├── libstdc++-6.dll
│   ├── libwinpthread-1.dll
│   ├── lua51.dll
│   ├── msgpackc.dll
│   ├── nvim-qt.exe
│   ├── nvim.exe
│   ├── opengl32sw.dll
│   ├── platforms
│   │   └── qwindows.dll
│   ├── styles
│   │   └── qwindowsvistastyle.dll
│   ├── tee.exe
│   ├── translations
│   │   ├── qt_ar.qm
│   │   ├── qt_bg.qm
│   │   ├── qt_ca.qm
│   │   ├── qt_cs.qm
│   │   ├── qt_da.qm
│   │   ├── qt_de.qm
│   │   ├── qt_en.qm
│   │   ├── qt_es.qm
│   │   ├── qt_fi.qm
│   │   ├── qt_fr.qm
│   │   ├── qt_gd.qm
│   │   ├── qt_he.qm
│   │   ├── qt_hu.qm
│   │   ├── qt_it.qm
│   │   ├── qt_ja.qm
│   │   ├── qt_ko.qm
│   │   ├── qt_lv.qm
│   │   ├── qt_pl.qm
│   │   ├── qt_ru.qm
│   │   ├── qt_sk.qm
│   │   └── qt_uk.qm
│   ├── uv.dll
│   ├── win32yank.exe
│   ├── winpty-agent.exe
│   ├── winpty.dll
│   └── xxd.exe
├── lib
│   └── nvim
│       └── parser
└── share
    ├── applications
    │   └── nvim.desktop
    ├── icons
    │   └── hicolor
    ├── locale
    │   ├── af
    │   ├── ca
    │   ├── cs
    │   ├── cs.cp1250
    │   ├── da
    │   ├── de
    │   ├── en_GB
    │   ├── eo
    │   ├── es
    │   ├── fi
    │   ├── fr
    │   ├── ga
    │   ├── it
    │   ├── ja
    │   ├── ja.euc-jp
    │   ├── ko.UTF-8
    │   ├── nb
    │   ├── nl
    │   ├── no
    │   ├── pl.UTF-8
    │   ├── pt_BR
    │   ├── ru
    │   ├── sk
    │   ├── sk.cp1250
    │   ├── sv
    │   ├── tr
    │   ├── uk
    │   ├── vi
    │   ├── zh_CN.UTF-8
    │   └── zh_TW.UTF-8
    ├── man
    │   └── man1
    ├── nvim
    │   └── runtime
    └── nvim-qt
        └── runtime

I don't know how to parse the latest artifact url with TypeScript (yeah, I can if write with Go lol) so can't send PR. But we use your action-setup-vim to neovim/go-client workflow. Now that all workflows will fail so this problem is urgent for me. Could you investigate it?

zchee avatar Sep 26 '21 05:09 zchee

Thank you for reporting this with details. I'll look into this.

rhysd avatar Sep 26 '21 10:09 rhysd

GitHub Actions workflow page provides artifacts, but also the release page still seems to provide packages.

For example, below two links are both available to download Neovim package for 64bit Linux:

  • https://github.com/neovim/neovim/releases/download/nightly/nvim-linux64.tar.gz
  • https://github.com/neovim/neovim/suites/3874359080/artifacts/96417404

The release page looks working for me. Should we really need to switch to the workflow page?

rhysd avatar Sep 26 '21 10:09 rhysd

This issue seems to be fixed by upstream (Neovim's CI). Closing.

If someone still sees some issues, please leave a comment here to ping me.

rhysd avatar Jan 09 '23 05:01 rhysd