-
Notifications
You must be signed in to change notification settings - Fork 3
38 lines (34 loc) · 952 Bytes
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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 }}"