-
Notifications
You must be signed in to change notification settings - Fork 8
56 lines (46 loc) · 1.62 KB
/
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: Build release
on:
release:
types:
- created
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.20.3
- name: Build binaries
run: make build_all
- name: Upload Darwin AMD64
uses: shogo82148/actions-upload-release-asset@v1
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: dist/web-logbook-darwin-amd64.tar.gz
- name: Upload Darwin ARM64
uses: shogo82148/actions-upload-release-asset@v1
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: dist/web-logbook-darwin-arm64.tar.gz
- name: Upload Linux AMD64
uses: shogo82148/actions-upload-release-asset@v1
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: dist/web-logbook-linux-amd64.tar.gz
- name: Upload Linux ARM64
uses: shogo82148/actions-upload-release-asset@v1
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: dist/web-logbook-linux-arm64.tar.gz
- name: Upload Linux ARM32
uses: shogo82148/actions-upload-release-asset@v1
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: dist/web-logbook-linux-arm.tar.gz
- name: Upload Window AMD64
uses: shogo82148/actions-upload-release-asset@v1
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: dist/web-logbook-windows-amd64.zip