Sha256: f015cede794c1bfc468ef1ce59fc96230c0e1ab46212c7b98f90df7cba81378f

Contents?: true

Size: 777 Bytes

Versions: 13

Compression:

Stored size: 777 Bytes

Contents

name: release

on:
  push:
    tags:
      - '*'

jobs:
  release:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1

      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: '2.6'

      - uses: actions/cache@v1
        with:
          path: vendor/bundle
          restore-keys: bundle-ubuntu-latest-2.6

      - run: bundle exec rake

      - name: publish
        env:
          GITHUB_PACKAGES_TOKEN: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
        run: |
          cat << 'EOF' > ~/.gem/credentials
          ---
          :github: Bearer ${GITHUB_PACKAGES_TOKEN}
          EOF
          chmod 0600 ~/.gem/credentials
          gem install gem-release
          gem release --key github --host https://rubygems.pkg.github.com/metanorma

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
metanorma-nist-1.3.2 .github/workflows/release.yml
metanorma-nist-1.3.1 .github/workflows/release.yml
metanorma-nist-1.3.0 .github/workflows/release.yml
metanorma-nist-1.2.16 .github/workflows/release.yml
metanorma-nist-1.2.15 .github/workflows/release.yml
metanorma-nist-1.2.14 .github/workflows/release.yml
metanorma-nist-1.2.13 .github/workflows/release.yml
metanorma-nist-1.2.12 .github/workflows/release.yml
metanorma-nist-1.2.11 .github/workflows/release.yml
metanorma-nist-1.2.10 .github/workflows/release.yml
metanorma-nist-1.2.9 .github/workflows/release.yml
metanorma-nist-1.2.8 .github/workflows/release.yml
metanorma-nist-1.2.7 .github/workflows/release.yml