Sha256: 1d3c451003a8e4305bd876f5ef0f38a85e2085e365190c5c903e1ec3487699ba

Contents?: true

Size: 1.06 KB

Versions: 2

Compression:

Stored size: 1.06 KB

Contents

---
name: Publish

on:
  push:
    tags:
      - v*

jobs:
  build:
    name: Build + Publish
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@master
      - name: Set up Ruby 2.6
        uses: actions/setup-ruby@v1
        with:
          ruby-version: 2.6.x
      - name: Configure Bundler
        run: |
          gem install bundler
          bundle install --jobs=3 --retry=3
          mkdir -p $HOME/.gem
          touch $HOME/.gem/credentials
          chmod 0600 $HOME/.gem/credentials
          printf -- "---\n:rubygems_api_key: ${RUBYGEMS_API_KEY}\n:github: Bearer ${GITHUB_PACKAGE_REPOSITORY_AUTH_TOKEN}" > $HOME/.gem/credentials
        env:
          RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}
          GITHUB_PACKAGE_REPOSITORY_AUTH_TOKEN: ${{secrets.GITHUB_PACKAGE_REPOSITORY_AUTH_TOKEN}}

      - name: Build Gem
        run: |
          gem build *.gemspec
      - name: Publish to RubyGems
        run: bundle exec ./bin/publish --rubygems

      - name: Publish to Github Package Repository
        run: bundle exec ./bin/publish --github

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
app_store_connect_jwt-0.5.0 .github/workflows/publish.yml
app_store_connect_jwt-0.4.0 .github/workflows/publish.yml