Skip to content

📦 NEW: Initial Commit #1

📦 NEW: Initial Commit

📦 NEW: Initial Commit #1

# This workflow aims to release a new version of the project when a commit is pushed to the main branch.
name: Release on push to main branch
on:
push:
branches: [main]
jobs:
release-on-push:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Release a new version
id: release
uses: rymndhng/release-on-push-action@master
with:
bump_version_scheme: patch
tag_prefix: v
release_name: <RELEASE_TAG>
max_commits: 25
- name: Check output parameters
run: echo -e "Tag name ${{ steps.release.outputs.tag_name }}\nRelease version ${{ steps.release.outputs.version }}"
outputs:
tag_name: ${{ steps.release.outputs.tag_name }}
version: ${{ steps.release.outputs.version }}