Skip to content

Commit f342e0b

Browse files
committed
Update publish gem action
1 parent 15d687e commit f342e0b

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/ci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
push:
88
branches:
99
- main
10+
workflow_call:
1011

1112
jobs:
1213
sqlite:

.github/workflows/publish_gem.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ on:
88
type: string
99

1010
jobs:
11+
test:
12+
uses: ./.github/workflows/ci.yml
13+
1114
push:
15+
needs: test
1216
runs-on: ubuntu-latest
1317

1418
permissions:
@@ -27,9 +31,8 @@ jobs:
2731
- name: Update version
2832
run: |
2933
sed -i 's/".*"/"${{ inputs.version }}"/' lib/noticed/version.rb
30-
bundle config set frozen false
34+
bundle config set --local deployment 'false'
3135
bundle
32-
bundle exec appraisal
3336
git config user.name 'GitHub Actions'
3437
git config user.email [email protected]
3538
git add Gemfile.lock gemfiles lib

0 commit comments

Comments
 (0)