Release #14
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: Release | |
on: | |
workflow_dispatch: | |
inputs: | |
version: | |
description: The version for which the formula will be generated | |
required: true | |
sha256: | |
description: The sha256 of the tuist.zip file associated to the version | |
required: true | |
permissions: | |
contents: write | |
env: | |
MISE_EXPERIMENTAL: 1 | |
jobs: | |
release: | |
name: Release | |
runs-on: 'ubuntu-latest' | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: jdx/mise-action@v2 | |
- name: Install dependencies | |
run: | | |
bundle install | |
- name: Generate formula | |
run: | | |
mise run release -- -v ${{ github.event.inputs.version }} -s ${{ github.event.inputs.sha256 }} | |
- name: Update @latest aliases | |
run: | | |
mise run aliases | |
- uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: "Release ${{ github.event.inputs.version }}" |