Skip to content

Commit

Permalink
Create build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
priyank-upadhyay authored Dec 11, 2024
1 parent 6b0aad5 commit 9ae7acc
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Build Binary

on:
push:
tags:
- 'v*'
workflow_dispatch:

permissions:
contents: write

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Make binary executable
run: chmod +x make_binary.sh

- name: Build binary
run: ./make_binary.sh

- name: Upload binary artifact
uses: actions/upload-artifact@v3
with:
name: egs-installer
path: ./egs-installer

- name: Create Release
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v1
with:
files: ./egs-installer
draft: false
prerelease: false

0 comments on commit 9ae7acc

Please sign in to comment.