Sha256: 9322281ab9388a2db77842d75e009892c39f6cfd1f65dbd1de38093b476a7ae6

Contents?: true

Size: 926 Bytes

Versions: 1

Compression:

Stored size: 926 Bytes

Contents

name: Tag and release

on:
  push:
    branches:
      - master
      - 2.6.x
    paths:
      - 'lib/r10k/version.rb'

jobs:
  release:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
        with:
          fetch-depth: '0'
      - name: Bump version and push tag
        uses: anothrNick/github-tag-action@1.17.2
        env:
          GITHUB_TOKEN: ${{ secrets.PUPPET_RELEASE_GH_TOKEN }}
          DEFAULT_BUMP: patch
          WITH_V: false
          # Uncomment this if the tag and version file become out-of-sync and
          # you need to tag at a specific version.
          # CUSTOM_TAG:
      - name: Build gem
        uses: scarhand/actions-ruby@master
        with:
          args: build *.gemspec
      - name: Publish gem
        uses: scarhand/actions-ruby@master
        env:
          RUBYGEMS_AUTH_TOKEN: ${{ secrets.RUBYGEMS_AUTH_TOKEN }}
        with:
          args: push *.gem

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
r10k-2.6.8 .github/workflows/release.yml