.github/workflows/gem-push.yml in uploadcare-ruby-4.2.0 vs .github/workflows/gem-push.yml in uploadcare-ruby-4.3.0
- old
+ new
@@ -1,20 +1,22 @@
name: Publish Gem
on:
push:
+ branches:
+ - "*"
tags:
- v*
jobs:
build:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v1
+ - uses: actions/checkout@v3
- name: Release Gem
if: contains(github.ref, 'refs/tags/v')
- uses: cadwallion/publish-rubygems-action@v1.0.0
+ uses: cadwallion/publish-rubygems-action@master
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}
RELEASE_COMMAND: rake release