File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Release binaries
2+
3+ permissions : read-all
4+
5+ on :
6+ workflow_dispatch :
7+ push :
8+ tags :
9+ - ' v*'
10+
11+ jobs :
12+ build-and-release :
13+ permissions :
14+ contents : write
15+ # Packages write permission required to create a release
16+ packages : write
17+ runs-on : ubuntu-latest
18+ steps :
19+ - name : Check out repository code
20+ uses : actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # pin@v3
21+
22+ - name : " Run `bazel build`"
23+ run : |
24+ bazel build -c opt //tools:heir-opt //tools:heir-translate
25+
26+ - name : Ensure binaries can run
27+ shell : bash
28+ run : |
29+ bazel-bin/tools/heir-opt --help
30+ bazel-bin/tools/heir-translate --help
31+
32+ - name : GH Release
33+ uses : softprops/action-gh-release@a74c6b72af54cfa997e81df42d94703d6313a2d0 # pin@v2.0.6
34+ with :
35+ files : |
36+ bazel-bin/tools/heir-opt
37+ bazel-bin/tools/heir-translate
You can’t perform that action at this time.
0 commit comments