Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Create Release for version 1.0.1 #23

Create Release for version 1.0.1

Create Release for version 1.0.1 #23

Workflow file for this run

name: Create Release for Authentik
run-name: Create Release for version ${{ github.event.inputs.version }}
on:
workflow_dispatch:
inputs:
version:
description: 'Version to release'
required: true
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
create-release:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/supreme'
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Create tag
id: create-tag
uses: rickstaa/action-create-tag@v1
with:
tag: v${{ github.event.inputs.version }}
tag_exists_error: false
message: "Latest release"
- name: Create a GitHub release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
with:
tag_name: v${{ github.event.inputs.version }}
release_name: v${{ github.event.inputs.version }}
draft: false
prerelease: false