Sha256: 5dc32ca67b1fa45b55033aad72b5fa358f03f32e876b968df896cf93b2ec0428

Contents?: true

Size: 986 Bytes

Versions: 5

Compression:

Stored size: 986 Bytes

Contents

name: Release

on:
  push:
    branches:
      - main

permissions:
  checks: write
  statuses: write
  contents: write
  packages: write
  pull-requests: write
  id-token: write

jobs:
  release:
    runs-on: ubuntu-latest

    steps:
    - name: release please
      id: release
      uses: googleapis/release-please-action@v4

    - name: clone repository
      if: ${{ steps.release.outputs.releases_created == 'true' }}
      uses: actions/checkout@v4

    - name: setup ruby
      if: ${{ steps.release.outputs.releases_created == 'true' }}
      uses: ruby/setup-ruby@v1
      with:
        bundler-cache: false

    - name: Configure trusted publishing credentials
      if: ${{ steps.release.outputs.releases_created == 'true' }}
      uses: rubygems/configure-rubygems-credentials@v1.0.0

    - name: build and publish to Github Package Registry
      if: ${{ steps.release.outputs.releases_created == 'true' }}
      run: |
        gem build *.gemspec
        gem push *.gem

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
easy_command-1.0.1 .github/workflows/release.yml
easy_command-1.0.0 .github/workflows/release.yml
easy_command-1.0.0.pre.rc3 .github/workflows/release.yml
easy_command-1.0.0.pre.rc2 .github/workflows/release.yml
easy_command-1.0.0.pre.rc1 .github/workflows/release.yml