flipper 0.26.0.rc2 → 0.26.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,44 +0,0 @@
1
- # https://andrewm.codes/blog/automating-ruby-gem-releases-with-github-actions/
2
- name: release
3
-
4
- on:
5
- push:
6
- branches:
7
- - main
8
-
9
- jobs:
10
- release-please:
11
- runs-on: ubuntu-latest
12
- steps:
13
- - uses: google-github-actions/release-please-action@v3
14
- id: release
15
- with:
16
- release-type: ruby
17
- package-name: flipper
18
- bump-minor-pre-major: true
19
- version-file: "lib/flipper/version.rb"
20
- # Checkout code if release was created
21
- - uses: actions/checkout@v3
22
- if: ${{ steps.release.outputs.release_created }}
23
- # Setup ruby if a release was created
24
- - uses: ruby/setup-ruby@v1
25
- with:
26
- ruby-version: 3.0.0
27
- if: ${{ steps.release.outputs.release_created }}
28
- # Bundle install
29
- - run: bundle install
30
- if: ${{ steps.release.outputs.release_created }}
31
- # Publish
32
- - name: publish gem
33
- run: |
34
- mkdir -p $HOME/.gem
35
- touch $HOME/.gem/credentials
36
- chmod 0600 $HOME/.gem/credentials
37
- printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
38
- gem build *.gemspec
39
- gem push *.gem
40
- env:
41
- # Make sure to update the secret name
42
- # if yours isn't named RUBYGEMS_AUTH_TOKEN
43
- GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
44
- if: ${{ steps.release.outputs.release_created }}