v0.8.1 #4
Workflow file for this run
This file contains 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: release | |
on: | |
push: | |
tags: | |
- v* | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup rubygems | |
run: | | |
mkdir ~/.gem | |
cp ./.github/workflows/gem_credentials ~/.gem/credentials | |
chmod 0600 ~/.gem/credentials | |
sed -i "s/REPLACE_ME/${{ secrets.RUBYGEMS_KEY }}/g" ~/.gem/credentials | |
- name: Build gem | |
run: gem build braze_ruby.gemspec --output braze_ruby.gem | |
- name: Publish gem | |
run: gem push braze_ruby.gem |