Fix permission denied failure in bazel CI job

This job started failing in GitHub Actions with this error:

    ## $ bazel run demo-rs --verbose_failures --noshow_progress
    Downloading https://releases.bazel.build/3.1.0/release/bazel-3.1.0-linux-x86_64...
    could not run Bazel: could not start Bazel: fork/exec /home/runner/work/cxx/cxx/tools/bazel: permission denied
    ##[error]Process completed with exit code 1.
This commit is contained in:
David Tolnay 2020-05-11 13:06:02 -07:00
parent dbe7cb0721
commit f5ac0d9ffa
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -79,6 +79,7 @@ jobs:
wget -q -O install.sh https://github.com/bazelbuild/bazel/releases/download/2.1.1/bazel-2.1.1-installer-linux-x86_64.sh
chmod +x install.sh
./install.sh --user
echo ::add-path::$HOME/bin
- name: Vendor dependencies
run: |
cp third-party/Cargo.lock .