Create New Release #4
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 New Release | |
on: | |
workflow_dispatch: | |
inputs: | |
version: | |
required: true | |
jobs: | |
create-release: | |
name: Create New Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
- name: Bump manifest version | |
run: node .github/actions/bump-manifest-version.js | |
env: | |
TGT_RELEASE_VERSION: ${{ inputs.version }} | |
- name: Push manifest change | |
uses: EndBug/add-and-commit@v9 | |
with: | |
add: fxmanifest.lua | |
push: true | |
message: 'chore: bump manifest version to ${{ inputs.version }}' | |
tag: ${{ inputs.version }} |