aboutsummaryrefslogtreecommitdiff
path: root/hypr/hypr-zoom/.github/workflows
diff options
context:
space:
mode:
authorAargh Rai <aargh.rai+git@gmail.com>2025-10-05 23:59:43 +0530
committerAargh Rai <aargh.rai+git@gmail.com>2025-10-05 23:59:43 +0530
commita1ff11b11c4a83a19839c4c50c7a1f6cb0a09670 (patch)
tree9ac2ccd11adde02f33e14d95123ad3d85ef5bac8 /hypr/hypr-zoom/.github/workflows
parent26164919defb8318b5fd8c79378b5586f042b939 (diff)
zoom
Diffstat (limited to 'hypr/hypr-zoom/.github/workflows')
-rw-r--r--hypr/hypr-zoom/.github/workflows/main.yml33
1 files changed, 33 insertions, 0 deletions
diff --git a/hypr/hypr-zoom/.github/workflows/main.yml b/hypr/hypr-zoom/.github/workflows/main.yml
new file mode 100644
index 0000000..ab277d7
--- /dev/null
+++ b/hypr/hypr-zoom/.github/workflows/main.yml
@@ -0,0 +1,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