Sha256: 4eb13de3223247631b13b464a206cbf4d99a91ef8935a91ebfd247759b52aae5

Contents?: true

Size: 494 Bytes

Versions: 5

Compression:

Stored size: 494 Bytes

Contents

name: Publish

on:
  release:
    types: [published]

jobs:
  build:
    name: Build + Publish
    runs-on: ubuntu-latest
    permissions:
      contents: read
      packages: write

    steps:
    - uses: actions/checkout@v2
    - name: Set up Ruby 2.7
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: '2.7'

    - name: Publish to RubyGems
      run: |
        gem build *.gemspec
        gem push *.gem
      env:
        GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
moodle_rb-2.1.5 .github/workflows/publish.yml
moodle_rb-2.1.0 .github/workflows/publish.yml
moodle_rb-2.0.0 .github/workflows/publish.yml
moodle_rb-1.2.0 .github/workflows/publish.yml
moodle_rb-1.1.3 .github/workflows/publish.yml