Skip to content

Commit d1ef35a

Browse files
poorna2152bmcutler
andauthored
[Feature:Developer] Build binaries on release (#6)
* Add binary.yml * Add extra new line Co-authored-by: Barb Cutler <[email protected]>
1 parent c7f1180 commit d1ef35a

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/build_binary.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Build binaries on release
2+
3+
on:
4+
push:
5+
tags:
6+
- "*"
7+
jobs:
8+
build:
9+
name: build
10+
runs-on: ubuntu-latest
11+
defaults:
12+
run:
13+
shell: bash
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Change permission
17+
run: chmod +x install_analysistoolsts.sh
18+
- name: Build executable
19+
run: sudo ./install_analysistoolsts.sh local
20+
- name: Release
21+
uses: softprops/action-gh-release@v1
22+
if: startsWith(github.ref, 'refs/tags/')
23+
with:
24+
files: |
25+
build/submitty_count_ts
26+
build/submitty_diagnostics_ts

0 commit comments

Comments
 (0)