-
Notifications
You must be signed in to change notification settings - Fork 0
78 lines (62 loc) · 1.79 KB
/
release_binaries.yml
File metadata and controls
78 lines (62 loc) · 1.79 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
---
name: Release Binaries
on:
push:
tags:
- '*'
jobs:
release_linux:
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v6
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build static binaries
run: make release-static
- name: Create release and publish assets
uses: ncipollo/release-action@v1
with:
artifacts: "packages/*"
token: ${{ secrets.GITHUB_TOKEN }}
allowUpdates: true
release_macos_arm64:
runs-on: macos-26
steps:
- name: Git checkout
uses: actions/checkout@v6
- name: Setup Crystal
uses: crystal-lang/install-crystal@v1
with:
crystal: 1.18.2
- name: Install dependencies
run: make deps-release
- name: Build binary
run: make release OUTPUT_FILE=netbox-extractor-darwin-arm64
- name: Create release and publish assets
uses: ncipollo/release-action@v1
with:
artifacts: "bin/*"
token: ${{ secrets.GITHUB_TOKEN }}
allowUpdates: true
release_macos_amd64:
runs-on: macos-26-intel
steps:
- name: Git checkout
uses: actions/checkout@v6
- name: Setup Crystal
uses: crystal-lang/install-crystal@v1
with:
crystal: 1.18.2
- name: Install dependencies
run: make deps-release
- name: Build binary
run: make release OUTPUT_FILE=netbox-extractor-darwin-amd64
- name: Create release and publish assets
uses: ncipollo/release-action@v1
with:
artifacts: "bin/*"
token: ${{ secrets.GITHUB_TOKEN }}
allowUpdates: true