-
Notifications
You must be signed in to change notification settings - Fork 56
42 lines (36 loc) · 924 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
39
40
41
42
name: "Merlin Agent Release"
on:
push:
tags:
- 'v*.*.*'
jobs:
release:
name: 'Release Job'
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
id: checkout
uses: actions/checkout@v3
- name: Set up Go
id: setup_go
uses: actions/setup-go@v4
with:
go-version: '1.21'
- name: Install 7zip
id: install_7zip
run: sudo apt-get install p7zip-full
- name: Make Distribution
id: make_distro
run: make distro
- name: Create Draft Release
id: create_draft_release
uses: ncipollo/release-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag: ${{ github.ref_name }}
name: ${{ github.ref_name }}
draft: true
prerelease: false
artifactErrorsFailBuild: true
artifacts: '*.7z'