.github/workflows/ci.yml in razorpay-3.0.1 vs .github/workflows/ci.yml in razorpay-3.1.0
- old
+ new
@@ -51,11 +51,11 @@
uses: codecov/codecov-action@v3
with:
files: ${{ github.workspace }}/coverage/coverage.xml
publish:
name: Publish
- #if: startsWith(github.ref, 'refs/tags/v')
+ if: startsWith(github.ref, 'refs/tags/v')
needs: [build, test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: sudo apt-get install -y oathtool
@@ -74,6 +74,6 @@
touch $HOME/.gem/credentials
chmod 0600 $HOME/.gem/credentials
printf -- "---\n:rubygems_api_key: ${GEM_API_KEY}\n" > $HOME/.gem/credentials
gem push gems/*.gem
env:
- GEM_API_KEY: ${{secrets.GEM_API_KEY}}
+ GEM_API_KEY: ${{secrets.GEM_API_KEY}}