Web / Update CutBox Version #15
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: Web / Update CutBox Version | |
on: | |
repository_dispatch: | |
workflow_dispatch: | |
inputs: | |
release: | |
required: true | |
description: "Latest CutBox version (Should be already released on Homebrew)" | |
jobs: | |
update: | |
name: Update CutBox Version | |
runs-on: macos-11 | |
env: | |
RELEASE: ${{ github.event.inputs.release }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Update Version | |
run: | | |
bin/make_index ${RELEASE} | |
git diff | |
git add . | |
git commit -m "Update index ${RELEASE}" | |
git push |