commit dea2873d9aa8add75cf2a13c78fe19d8c439c277
parent 0171e6c9709705018a2662fc3154fc3e0580b192
Author: William Casarin <jb55@jb55.com>
Date: Thu, 28 Nov 2024 11:58:26 -0800
build: only build packages on merge to master
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
@@ -60,6 +60,7 @@ jobs:
name: Build Linux Packages
runs-on: ubuntu-latest
needs: linux-build-test
+ if: github.ref_name == 'master'
steps:
# Checkout the repository
- name: Checkout Code
@@ -106,6 +107,7 @@ jobs:
name: Build macOS DMG
runs-on: macos-latest
needs: macos-build-test
+ if: github.ref_name == 'master'
env:
NOTEDECK_APPLE_RELEASE_CERT_ID: ${{ secrets.NOTEDECK_APPLE_RELEASE_CERT_ID }}
NOTEDECK_RELEASE_APPLE_ID: ${{ secrets.NOTEDECK_RELEASE_APPLE_ID }}
@@ -154,6 +156,7 @@ jobs:
name: Build Windows Installer
runs-on: windows-latest
needs: windows-build-test
+ if: github.ref_name == 'master'
steps:
# Checkout the repository
- name: Checkout Code