blob: ab277d768bfb9c497ee6691ef226393d882885ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
name: Build and upliad artifact
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.23'
- name: Build
run: go build -v -o hypr-zoom ./hypr-zoom.go # Specify the output binary name
- name: Delete Previous artifact
uses: geekyeggo/delete-artifact@v5
with:
name: hypr-zoom
failOnError: false
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: hypr-zoom
path: hypr-zoom
|