-
Notifications
You must be signed in to change notification settings - Fork 7.9k
44 lines (36 loc) · 1.01 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
name: Release Building
on:
push:
tags:
- '*'
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
fetch-depth: 0
- name: Build
run: |
brew install automake
brew install autoconf
brew install libtool
make VERSION="${GITHUB_REF_NAME}" release
make release-dmg
shasum -a 256 build/Release/ShadowsocksX-NG.dmg > build/Release/ShadowsocksX-NG.dmg.checksum
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: ShadowsocksX-NG
path: |
build/Release/ShadowsocksX-NG.dmg
build/Release/ShadowsocksX-NG.dmg.checksum
- name: Release
uses: softprops/action-gh-release@v1
with:
generate_release_notes: true
files: |
build/Release/ShadowsocksX-NG.dmg
build/Release/ShadowsocksX-NG.dmg.checksum