forked from OpenListTeam/OpenList
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (35 loc) · 965 Bytes
/
release.yml
File metadata and controls
44 lines (35 loc) · 965 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
name: Release builds
on:
workflow_dispatch:
permissions:
contents: write
jobs:
release:
strategy:
matrix:
build-type: [ 'standard' ]
target-platform: [ 'linux_musl' ]
name: Release linux_musl
runs-on: ubuntu-latest
steps:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.25.0'
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y upx
- name: Build
run: bash build.sh release ${{ matrix.target-platform }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FRONTEND_REPO: ${{ vars.FRONTEND_REPO }}
- name: Upload assets
uses: softprops/action-gh-release@v2
with:
files: build/compress/*
prerelease: false
tag_name: ${{ github.ref_name }}