Skip to content

Commit b073aa7

Browse files
author
Laurynas Butkus
committed
Adjust publish action
1 parent da11a8f commit b073aa7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111

1212
# setup .gem/credentials
1313
- run: mkdir -p ~/.gem
14-
- run: >-
15-
echo -e "---\n:rubygems_api_key: ${RUBYGEMS_API_KEY}" > ~/.gem/credentials
16-
env:
14+
- env:
1715
RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
16+
run: >-
17+
echo -e "---\n:rubygems_api_key: ${RUBYGEMS_API_KEY}" > ~/.gem/credentials
1818
- run: chmod 0600 ~/.gem/credentials
1919

2020
- run: gem build convert_api.gemspec --output=release.gem

0 commit comments

Comments
 (0)