Skip to content

Merge pull request #2 from jwt2706/dev #4

Merge pull request #2 from jwt2706/dev

Merge pull request #2 from jwt2706/dev #4

Workflow file for this run

name: Build
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Bazel
run: |
sudo apt update
sudo apt install curl gnupg
curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor > bazel.gpg
sudo mv bazel.gpg /etc/apt/trusted.gpg.d/
echo "deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list
sudo apt update
sudo apt install bazel
- name: Build
run: bazel build //:main