Skip to content

Commit a43136e

Browse files
committed
Create initial publish github actions
1 parent c2c0eb3 commit a43136e

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ concurrency:
55
cancel-in-progress: true
66

77
on:
8+
workflow_call:
89
push:
910
branches:
1011
- kiskolabs/add_rails_6.1_and_ruby_3_4

.github/workflows/publish.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Deploy to RubyGems
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
tags:
7+
- '*'
8+
branches:
9+
- kiskolabs/gha-publish-to-rubygems
10+
11+
jobs:
12+
test:
13+
uses: ./.github/workflows/ci.yml
14+
push:
15+
runs-on: ubuntu-latest
16+
needs: [test]
17+
permissions:
18+
contents: write
19+
id-token: write
20+
steps:
21+
- name: Test
22+
run: |
23+
echo "Testing successful case"
24+
25+
# - uses: actions/checkout@v4
26+
# - name: Set up Ruby
27+
# uses: ruby/setup-ruby@v1
28+
# with:
29+
# bundler-cache: true
30+
# ruby-version: 3.0
31+
32+
# # Release
33+
# - uses: rubygems/release-gem@v1

0 commit comments

Comments
 (0)