Error: tar (child): bzip2: Cannot exec: No such file or directory
We are using this action with v.2.3 to implement SQL scripts on an Azure SQL database. This action works fine in general. But we are seeing below error messages when running v2.3 today in our GitHub actions workflow. We are using this action in multiple workflows are all of them are failing with this specific reason.
tar (child): bzip2: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
Attaching full error message log file to this message.
Please let us know if we need to upgrade the GitHub action version or if there is any alternative GitHub action we can use for the same purpose.
I had a similar problem, installing bzip2 helped me. sudo apt-get install bzip2
Can you share which GitHub Actions runner you're using?
Issue resolved after installing bzip2 on the runner