Skip to content

Commit 98f72e6

Browse files
Merge pull request #10 from ionos-cloud/bugfix/gem-release-flow-7
Refactor gem release workflow to install dependencies and combine build and publish steps
2 parents c56184b + 3aef65b commit 98f72e6

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -118,15 +118,14 @@ jobs:
118118
uses: ruby/setup-ruby@v1
119119
with:
120120
ruby-version-file: ".ruby-version"
121-
bundler-cache: true
121+
122+
- name: Install dependencies
123+
run: bundle install
122124

123125
- name: Update version from git tag
124126
run: bundle exec rake version
125127

126-
- name: Build gem
127-
run: gem build archsight.gemspec
128-
129-
- name: Publish gem
128+
- name: Build and publish gem
130129
uses: rubygems/release-gem@v1
131130

132131
release-container:

0 commit comments

Comments
 (0)