Skip to content
This repository was archived by the owner on Oct 31, 2024. It is now read-only.

Commit a3434cd

Browse files
author
Amir Blum
authored
ci: fix publish (#4)
1 parent 5b01a3f commit a3434cd

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/publish.yml

+2-6
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,15 @@ jobs:
2121
- name: Checkout
2222
uses: actions/checkout@v2
2323

24-
- name: CD into gem directory
25-
run: cd ${{ github.event.inputs.dir }}
26-
27-
- name: Bundle Install
28-
run: bundle install
29-
3024
- name: Publish gem
3125
run: |
3226
mkdir -p $HOME/.gem
3327
touch $HOME/.gem/credentials
3428
chmod 0600 $HOME/.gem/credentials
3529
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
30+
bundle install
3631
gem build *.gemspec
3732
gem push *.gem
3833
env:
3934
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_API_KEY}}"
35+
working-directory: ${{ github.event.inputs.dir }}

0 commit comments

Comments
 (0)