Skip to content

Commit da11a8f

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

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ jobs:
1111

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

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

0 commit comments

Comments
 (0)