Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Release πŸš€

Release πŸš€ #7

Workflow file for this run

name: Release πŸš€
on:
workflow_dispatch:
inputs:
version:
description: Version to release
required: true
type: string
permissions:
contents: write
jobs:
publish-release:
name: Create the changelog and push the release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: main
ssh-key: ${{ secrets.SSH_DEPLOY_KEY }}
fetch-depth: 0
- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
git_user_signingkey: true
git_tag_gpgsign: true
git_commit_gpgsign: true
- name: Setup node env πŸ—
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
check-latest: true
- name: Bump version πŸš€
working-directory: gradle/changelogen
run: |
npx --yes changelogen@latest --release --push -r ${{ inputs.version }}
npx --yes changelogen@latest gh release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}