Update Longhorn Repository Version File in Default Branch (master/main) #1
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: Update Longhorn Repository Version File in Default Branch (master/main) | |
on: | |
workflow_dispatch: | |
inputs: | |
version: | |
description: "Version, ex: v1.8.0-dev" | |
required: true | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_ACTION_TOKEN }} | |
steps: | |
- name: Setup Git | |
run: | | |
gh auth setup-git | |
- run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "David Ko" | |
- uses: actions/checkout@v4 | |
- name: Update repo version files | |
run: ./scripts/update-repo-version-file.sh ${{ inputs.version }} |