Skip to content

Merge pull request #8 from d3cryptofc/main #41

Merge pull request #8 from d3cryptofc/main

Merge pull request #8 from d3cryptofc/main #41

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Build Hyprnotify
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.22.1'
- name: Build
run: |
sudo apt-get install libasound2-dev -y
go build -v ./cmd/hyprnotify
strip hyprnotify
- name: Upload a Build Artifact
uses: actions/upload-artifact@v4.3.1
with:
name: hyprnotify
path: hyprnotify