Skip to content

Commit

Permalink
[Feature:Developer] Build binaries on release (#6)
Browse files Browse the repository at this point in the history
* Add binary.yml

* Add extra new line

Co-authored-by: Barb Cutler <[email protected]>
  • Loading branch information
poorna2152 and bmcutler authored Aug 12, 2022
1 parent c7f1180 commit d1ef35a
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/build_binary.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build binaries on release

on:
push:
tags:
- "*"
jobs:
build:
name: build
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v2
- name: Change permission
run: chmod +x install_analysistoolsts.sh
- name: Build executable
run: sudo ./install_analysistoolsts.sh local
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
build/submitty_count_ts
build/submitty_diagnostics_ts

0 comments on commit d1ef35a

Please sign in to comment.