Skip to content

Commit

Permalink
feat: Add CI integration workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
k3yss committed Nov 11, 2023
1 parent ed0571e commit ac56648
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
name: CI

on:
push:
branches:
- "main"

jobs:
build-test:
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup | Golang
uses: actions/setup-go@v4
with:
go-version: '>=1.17.0'
- run: go version

- name: Build
run: go build

- name: Release Binary
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: gofetch
name: gofetch

- name: Make a pre-release
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Development Build"
files: gofetch




Binary file modified gofetch
Binary file not shown.

0 comments on commit ac56648

Please sign in to comment.