aboutsummaryrefslogtreecommitdiff
path: root/hypr/hypr-zoom/.github/workflows
diff options
context:
space:
mode:
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