File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Push Gem
2+
3+ on :
4+ workflow_dispatch :
5+
6+ permissions :
7+ contents : read
8+
9+ jobs :
10+ push :
11+ if : github.repository == 'simplecov-ruby/simplecov'
12+ runs-on : ubuntu-latest
13+
14+ environment :
15+ name : rubygems.org
16+ url : https://rubygems.org/gems/simplecov
17+
18+ permissions :
19+ contents : write
20+ id-token : write
21+
22+ steps :
23+ # Set up
24+ - name : Harden Runner
25+ uses : step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 # v2.7.1
26+ with :
27+ egress-policy : audit
28+
29+ - uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
30+ - name : Set up Ruby
31+ uses : ruby/setup-ruby@cacc9f1c0b3f4eb8a16a6bb0ed10897b43b9de49 # v1.176.0
32+ with :
33+ bundler-cache : true
34+ ruby-version : ruby
35+
36+ # Release
37+ - uses : rubygems/release-gem@612653d273a73bdae1df8453e090060bb4db5f31 # v1
You can’t perform that action at this time.
0 commit comments