Sha256: 70ca00a5e68901610920f9e68019ef65456e84a8bbb7a609af7c1ab530d1c507

Contents?: true

Size: 989 Bytes

Versions: 10

Compression:

Stored size: 989 Bytes

Contents

name: release

on:
  push:
    tags:
      - '*'

jobs:
  release:
    runs-on: ubuntu-18.04
    steps:
      - uses: actions/checkout@v1
      - name: Use Ruby
        uses: actions/setup-ruby@v1
        with:
          ruby-version: '2.6'
          architecture: 'x64'
      - name: Update gems
        run: |
          gem install bundler
          bundle install --jobs 4 --retry 3
      - name: Update stepmod-utils.jar
        run: |
          rm -f bin/stepmod-utils.jar
          rake bin/stepmod-utils.jar
      - name: Run specs
        run: |
          bundle exec rake
      - name: Publish to rubygems.org
        env:
          RUBYGEMS_API_KEY: ${{secrets.METANORMA_CI_RUBYGEMS_API_KEY}}
        run: |
          gem install gem-release
          touch ~/.gem/credentials
          cat > ~/.gem/credentials << EOF
          ---
          :rubygems_api_key: ${RUBYGEMS_API_KEY}
          EOF
          chmod 0600 ~/.gem/credentials
          git status
          gem release

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
stepmod-utils-0.2.0 .github/workflows/release.yml
stepmod-utils-0.1.8 .github/workflows/release.yml
stepmod-utils-0.1.7 .github/workflows/release.yml
stepmod-utils-0.1.6 .github/workflows/release.yml
stepmod-utils-0.1.5 .github/workflows/release.yml
stepmod-utils-0.1.4 .github/workflows/release.yml
stepmod-utils-0.1.3 .github/workflows/release.yml
stepmod-utils-0.1.2 .github/workflows/release.yml
stepmod-utils-0.1.1 .github/workflows/release.yml
stepmod-utils-0.1.0 .github/workflows/release.yml