trying fix all caps #4
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: Publish Ouroborus Gem | |
on: | |
push: | |
branches: | |
- "*" | |
jobs: | |
publish-gem: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.0 | |
- name: Publish Ouroborus Gem to GitHub Registry | |
run: | | |
mkdir -p ~/.gem | |
echo ":github: Bearer ${{ secrets.GITHUB_TOKEN }}" > ~/.gem/credentials | |
chmod 0600 ~/.gem/credentials | |
cd ouroborus | |
gem build ouroborus.gemspec | |
gem push --key github --host https://rubygems.pkg.github.com/geoSales-evolution/self-deployable-docker ouroborus-*.gem |