Skip to content

Commit 3f863c9

Browse files
authored
Merge pull request #24 from trocco-io/add_github-actions
[add]github-actions
2 parents dd44c7f + 0bfe0b4 commit 3f863c9

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/gem-push.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Ruby Gem
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
tags:
7+
- 'v*'
8+
9+
jobs:
10+
build:
11+
name: Build + Publish
12+
runs-on: ubuntu-latest
13+
permissions:
14+
packages: write
15+
contents: read
16+
steps:
17+
- uses: actions/checkout@v2
18+
- name: Set up Ruby 2.7
19+
uses: ruby/setup-ruby@v1
20+
with:
21+
ruby-version: 2.7
22+
- name: push gem
23+
uses: trocco-io/push-gem-to-gpr-action@v1
24+
with:
25+
github-token: "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)