This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create Release | ||
on: | ||
push: | ||
tags: | ||
- * | ||
jobs: | ||
create-release: | ||
# Set release tag to the tag name | ||
name: "Create Release" | ||
runs-on: "ubuntu-latest" | ||
permissions: | ||
contents: "write" | ||
pull-requests: "write" | ||
repository-projects: "write" | ||
steps: | ||
- name: GitHub Tag Name example | ||
run: | | ||
echo "Tag name from GITHUB_REF_NAME: $GITHUB_REF_NAME" | ||
echo "Tag name from github.ref_name: ${{ github.ref_name }}" | ||
- run: echo "Creating release for tag ${{ github.ref }}" | ||
- name: Create release | ||
uses: "marvinpinto/action-automatic-releases@latest" | ||
with: | ||
repo_token: "${{ secrets.GITHUB_TOKEN }}" | ||
prerelease: false | ||
automatic_release_tag: "${{ github.ref_name }}" | ||
title: "Release ${{ github.ref_name }}" |