Skip to content

Commit 5ad2dad

Browse files
committed
fix: add a job to the action
1 parent c2ceafe commit 5ad2dad

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed
Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
name: Publish gem on tag push
12
on:
23
push:
34
tags:
@@ -6,12 +7,16 @@ on:
67
# Tags that will trigger: v1.9.0; v1.9.0-beta1
78
# Tags excluded (with the '!'): v1.9.0-mconf; v1.9.0-mconf-beta1
89

9-
---
10-
11-
- name: Publish gem on tag push
12-
uses: dawidd6/[email protected]
13-
with:
14-
# Optional, will publish to RubyGems if specified
15-
api_key: ${{secrets.RUBYGEMS_API_KEY}}
16-
# Optional, will publish to GitHub Packages if specified
17-
github_token: ${{secrets.GITHUB_TOKEN}}
10+
jobs:
11+
publish-gem:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v2
16+
- name: Publish
17+
uses: dawidd6/[email protected]
18+
with:
19+
# Optional, will publish to RubyGems if specified
20+
api_key: ${{secrets.RUBYGEMS_API_KEY}}
21+
# Optional, will publish to GitHub Packages if specified
22+
github_token: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)