-
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (37 loc) · 1011 Bytes
/
ci.yml
File metadata and controls
44 lines (37 loc) · 1011 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
37
38
39
40
41
42
43
44
name: CI-Build
on:
push:
branches:
- master
- "**"
pull_request:
branches:
- master
jobs:
build:
name: Build
runs-on: ubuntu-latest
outputs:
version_number: ${{ steps.version_number.outputs.version_number }}
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Set up Go 1.26
uses: actions/setup-go@v6
with:
go-version: "1.26.1"
id: go
- name: Version Number
id: version_number
run: echo "version_number=$(make version_number)" >> $GITHUB_OUTPUT
- name: Show Version
run: echo "Version ${{ steps.version_number.outputs.version_number }}"
- name: Build
run: make prepare build archive
- name: "Upload binary archive"
uses: actions/upload-artifact@v7
with:
name: hamlibplugin-archive
path: ./com.thecodingflow.hamlibplugin.zip