From 4dee1c1bff11fdebf2a4665b2058bede044c1831 Mon Sep 17 00:00:00 2001 From: Siddharth Kannan Date: Fri, 12 Jul 2024 14:15:42 +0900 Subject: [PATCH] Build binaries only for tags This is to reduce the usage of GitHub Actions. I did not look into the pricing of GitHub Actions. If it is based on the amount of build time that is consumed, then I want to consume less by building only tags. --- .github/workflows/build-binary.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-binary.yml b/.github/workflows/build-binary.yml index 3d6771a..32551c2 100644 --- a/.github/workflows/build-binary.yml +++ b/.github/workflows/build-binary.yml @@ -1,6 +1,8 @@ name: Build Binary -on: [push] +on: + push: + tags: jobs: build: