.github/workflows/release.yml in stepmod-utils-0.3.5 vs .github/workflows/release.yml in stepmod-utils-0.3.7
- old
+ new
@@ -24,14 +24,15 @@
ruby-version: '2.6'
bundler-cache: true
- run: gem install gem-release
- - if: ${{ github.event_name == 'workflow_dispatch' }} && ${{ github.event.inputs.next_version != 'skip' }}
- run: |
+ - run: |
git config user.name github-actions
git config user.email github-actions@github.com
- gem bump --version ${{ github.event.inputs.next_version }} --tag --push
+
+ - if: github.event_name == 'workflow_dispatch' && github.event.inputs.next_version != 'skip'
+ run: gem bump --version ${{ github.event.inputs.next_version }} --tag --push
- name: publish to rubygems.org
env:
RUBYGEMS_API_KEY: ${{secrets.METANORMA_CI_RUBYGEMS_API_KEY}}
run: |