-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (37 loc) · 1.01 KB
/
build.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
# Copyright (c) 2024 Christopher Watson
#
# This software is released under the MIT License.
# https://opensource.org/licenses/MIT
name: Build Go binaries
on:
push:
paths-ignore:
- 'docs/screenshot.png'
- 'README.md'
- 'CHANGELOG.md'
- 'LICENSE'
- 'Dockerfile'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Compile
uses: xxxserxxx/actions/[email protected]
env:
SRCPATH: ./cmd/go-up
with:
args: linux/amd64
# args: darwin/amd64/1 darwin/arm64/1 linux/amd64 linux/386 linux/arm64 linux/arm7 linux/arm6 linux/arm5 windows/amd64/1 windows/386/1 freebsd/amd64/1
- name: List files
run: |
pwd
ls -la
ls -la .release/ || true
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: go-up
path: .release/
include-hidden-files: true