-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (26 loc) · 835 Bytes
/
release.yml
File metadata and controls
29 lines (26 loc) · 835 Bytes
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
# Auto-generated by Cimas: Do not edit it manually!
# See https://github.com/metanorma/cimas
name: release
permissions:
contents: write
packages: write
id-token: write
on:
workflow_dispatch:
inputs:
next_version:
description: |
Next release version. Possible values: x.y.z, major, minor, patch (or pre|rc|etc).
Also, you can pass 'skip' to skip 'git tag' and do 'gem push' for the current version
required: true
default: 'skip'
repository_dispatch:
types: [ do-release ]
jobs:
release:
uses: metanorma/ci/.github/workflows/rubygems-release.yml@main
with:
next_version: ${{ github.event.inputs.next_version }}
secrets:
rubygems-api-key: ${{ secrets.GLOSSARIST_CI_RUBYGEMS_API_KEY }}
pat_token: ${{ secrets.GLOSSARIST_CI_PAT_TOKEN }}