Create Version #9
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 Version | |
on: | |
workflow_dispatch: | |
inputs: | |
version: | |
type: string | |
description: "Semantic Version (vX.X.X)" | |
required: true | |
jobs: | |
create-version: | |
name: Create Version | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Update dependencies | |
run: | | |
rm -rf node_modules package-lock.json | |
npm install | |
- name: Commit Changes | |
uses: EndBug/add-and-commit@v9 | |
with: | |
message: Update dependencies | |
committer_name: github-actions[bot] | |
committer_email: github-actions[bot]@users.noreply.github.com | |
push: false | |
- name: Create Version | |
uses: docker://antonyurchenko/changelog-version:v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
VERSION: ${{ github.event.inputs.version }} | |
UPDATE_TAGS: "true" |