generated from kurtosis-tech/package-template-repo
-
Notifications
You must be signed in to change notification settings - Fork 8
36 lines (30 loc) · 766 Bytes
/
release.yml
File metadata and controls
36 lines (30 loc) · 766 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
30
31
32
33
34
35
36
name: Releaser
on:
workflow_dispatch:
tags:
- "v*"
inputs:
kurtosis_version:
description: "kurtosis_version"
required: true
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: "1.21.4"
- name: Install Goreleaser
run: |
go install github.com/goreleaser/goreleaser@latest
- name: Run Goreleaser
env:
KURT_CLI_VERSION: ${{ github.event.inputs.kurtosis_version }}
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
run: |
cd cli/ && goreleaser release --clean