Skip to content

Commit

Permalink
Update publish gem action
Browse files Browse the repository at this point in the history
  • Loading branch information
excid3 committed Apr 28, 2024
1 parent 15d687e commit f342e0b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
push:
branches:
- main
workflow_call:

jobs:
sqlite:
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/publish_gem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ on:
type: string

jobs:
test:
uses: ./.github/workflows/ci.yml

push:
needs: test
runs-on: ubuntu-latest

permissions:
Expand All @@ -27,9 +31,8 @@ jobs:
- name: Update version
run: |
sed -i 's/".*"/"${{ inputs.version }}"/' lib/noticed/version.rb
bundle config set frozen false
bundle config set --local deployment 'false'
bundle
bundle exec appraisal
git config user.name 'GitHub Actions'
git config user.email [email protected]
git add Gemfile.lock gemfiles lib
Expand Down

0 comments on commit f342e0b

Please sign in to comment.