Open michalklempa opened 4 years ago
I was getting a similar error, but after checking a little closer, I was trying to build pacman packages but with the current runner, it seems that GitHub changed the default runner to Ubuntu 20.04 a few months ago https://github.blog/changelog/2020-10-29-github-actions-ubuntu-latest-workflows-will-use-ubuntu-20-04/
This is causing some errors related with the missing binary bsdtar
used by the pacman builder. I found this workaround https://github.com/electron-userland/electron-builder/issues/4181 . Just install libarchive-tools
for the runner.
I made this using an additional step at the beginning:
- name: Install libarchive-tools for pacman build # Related https://github.com/electron-userland/electron-builder/issues/4181
if: startsWith(matrix.os, 'ubuntu')
run: sudo apt-get install libarchive-tools
You can check my full workflow here: https://github.com/julian-alarcon/prospect-mail/blob/develop/.github/workflows/release.yml#L31
It seems that we are not the only one with similar issues: https://github.com/hashicorp/vagrant/issues/12038 https://github.com/intel/lkp-tests/issues/50
Hi, in my repository and branch: https://github.com/mlajtos/mosaic/pull/5/files
The Windows and Mac builds are ok, but Linux fails this way:
Any idea what might happen? I do not see stdout/err from the
sh
andbsdtar
commands to investigate.