Sha256: e3be21a80311372675707e0af356e9a55f155f898ddd9f2568bdef8d70615dee

Contents?: true

Size: 684 Bytes

Versions: 6

Compression:

Stored size: 684 Bytes

Contents

name: GitHub Release

on:
  push:
    tags:
      - v*

jobs:
  Publish:
    permissions:
      contents: write
    runs-on: ubuntu-latest
    if: startsWith(github.ref, 'refs/tags/v')
    steps:
      - name: Calculate release name
        run: |
          GITHUB_REF=${{ github.ref }}
          RELEASE_NAME=${GITHUB_REF#"refs/tags/"}
          echo "RELEASE_NAME=${RELEASE_NAME}" >> $GITHUB_ENV
      - name: Publish release
        uses: actions/create-release@v1
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          tag_name: ${{ github.ref }}
          release_name: ${{ env.RELEASE_NAME }}
          draft: false
          prerelease: false

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
secure_headers-7.0.0 .github/workflows/github-release.yml
secure_headers-6.7.0 .github/workflows/github-release.yml
secure_headers-6.6.0 .github/workflows/github-release.yml
secure_headers-6.5.0 .github/workflows/github-release.yml
secure_headers-6.4.0 .github/workflows/github-release.yml
secure_headers-6.3.4 .github/workflows/github-release.yml