From 4516c0b377ce1256a9541c19b0b536542c452eea Mon Sep 17 00:00:00 2001 From: Jordan Brough Date: Fri, 12 Jul 2024 07:24:46 -0600 Subject: [PATCH] Only publish gems when version has changed --- .github/workflows/release-gh-packages.yml | 2 ++ .github/workflows/release-rubygems.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/release-gh-packages.yml b/.github/workflows/release-gh-packages.yml index cc133c7..adc4ea3 100644 --- a/.github/workflows/release-gh-packages.yml +++ b/.github/workflows/release-gh-packages.yml @@ -3,6 +3,8 @@ on: push: branches: - "master" + paths: + - "lib/ruby_snowflake/version.rb" jobs: release: runs-on: ubuntu-latest diff --git a/.github/workflows/release-rubygems.yml b/.github/workflows/release-rubygems.yml index e4caaff..be43745 100644 --- a/.github/workflows/release-rubygems.yml +++ b/.github/workflows/release-rubygems.yml @@ -3,6 +3,8 @@ on: push: branches: - "master" + paths: + - "lib/ruby_snowflake/version.rb" jobs: release: runs-on: ubuntu-latest