Repository navigation
Merge pull request #91 from mailersend/feature/MSD-14232/add-dmarc-en… #29
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Publish Gem | |
| on: | |
| push: | |
| tags: | |
| - v* | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 3.1 | |
| - name: Install Bundler | |
| run: gem install bundler -v 2.5.23 | |
| - name: Install dependencies | |
| run: bundle _2.5.23_ install | |
| - name: Release Gem | |
| if: contains(github.ref, 'refs/tags/v') | |
| uses: cadwallion/publish-rubygems-action@master | |
| env: | |
| GITHUB_TOKEN: ${{secrets.GITHUBTOKEN}} | |
| RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}} | |
| RELEASE_COMMAND: rake release | |