-
Notifications
You must be signed in to change notification settings - Fork 0
59 lines (51 loc) · 1.36 KB
/
Copy pathrelease.yml
File metadata and controls
59 lines (51 loc) · 1.36 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
name: Release
on:
push:
tags:
- "v*"
workflow_dispatch:
permissions:
contents: write
jobs:
linux-amd64:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: go.mod
- name: Install Fyne dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
libgl1-mesa-dev \
xorg-dev \
libxcursor-dev \
libxrandr-dev \
libxinerama-dev \
libxi-dev \
libxxf86vm-dev \
libwayland-dev \
libxkbcommon-dev
- name: Build dist archive
run: make dist
- name: Upload release assets
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v3
with:
files: |
build/adgui-*-linux-amd64.tar.xz
build/adgui-*-linux-amd64.tar.xz.sha256
generate_release_notes: true
- name: Upload workflow artifacts
if: github.event_name == 'workflow_dispatch'
uses: actions/upload-artifact@v6
with:
name: adgui-linux-amd64
path: |
build/adgui-*-linux-amd64.tar.xz
build/adgui-*-linux-amd64.tar.xz.sha256