Sha256: 1999b34d892bf4e8a2738d27169d8ba21a0165b807822aa426c7fd134f63bff0

Contents?: true

Size: 931 Bytes

Versions: 10

Compression:

Stored size: 931 Bytes

Contents

name: Release

on:
  workflow_dispatch:

jobs:
  release:

    runs-on: ubuntu-latest

    steps:
    - name: Checkout
      uses: actions/checkout@v2
      with:
        token: ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }}

    - name: Identify
      run: |
        git config user.name OpenActive Bot
        git config user.email hello@openactive.io

    - name: Set up Ruby
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: 2.7
        bundler-cache: true # runs 'bundle install' and caches installed gems automatically

    - name: Run tests
      run: bundle exec rspec

    - name: Publish to RubyGems
      run: |
        mkdir -p $HOME/.gem
        touch $HOME/.gem/credentials
        chmod 0600 $HOME/.gem/credentials
        printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
        bundle exec rake release
      env:
        GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_API_KEY}}"

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
openactive-0.5.0 .github/workflows/release.yaml
openactive-0.4.0 .github/workflows/release.yaml
openactive-dataset_site-7.0.0 .github/workflows/release.yaml
openactive-dataset_site-6.0.2 .github/workflows/release.yaml
openactive-dataset_site-6.0.1 .github/workflows/release.yaml
openactive-dataset_site-6.0.0 .github/workflows/release.yaml
openactive-0.3.0 .github/workflows/release.yaml
openactive-0.2.2 .github/workflows/release.yaml
openactive-0.2.1 .github/workflows/release.yaml
openactive-dataset_site-0.2.0 .github/workflows/release.yaml