WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 1efbacd

Browse files
committed
Chore: enforce publishing with if
1 parent d87351e commit 1efbacd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ jobs:
1818
- uses: ruby/setup-ruby@v1
1919
with:
2020
ruby-version: 2.7
21-
if: ${{ steps.release.outputs.release_created }}
2221
- run: bundle install
23-
if: ${{ steps.release.outputs.release_created }}
2422
build:
2523
name: Build + Publish
2624
runs-on: ubuntu-latest
@@ -35,6 +33,7 @@ jobs:
3533
ruby-version: 2.7
3634
- run: bundle install
3735
- name: Publish to RubyGems
36+
if: ${{ steps.release.outputs.release_created }}
3837
run: |
3938
mkdir -p $HOME/.gem
4039
touch $HOME/.gem/credentials
@@ -45,6 +44,7 @@ jobs:
4544
env:
4645
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
4746
- name: Publish to GPR
47+
if: ${{ steps.release.outputs.release_created }}
4848
run: |
4949
mkdir -p $HOME/.gem
5050
touch $HOME/.gem/credentials

0 commit comments

Comments
 (0)