-
Notifications
You must be signed in to change notification settings - Fork 11
52 lines (51 loc) · 1.2 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
name: Release
on:
push:
tags:
- v*.*.*
jobs:
release:
strategy:
matrix:
frida_version: ["16.5.1"]
runs-on: macos-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
-
name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '^1.22.x'
- run: go version
-
name: Fetch all tags
run: git fetch --force --tags
-
name: Download Frida macOS_amd64
uses: ./.github/actions/install-frida-devkit
with:
arch: x86_64
os: macos
version: ${{ matrix.frida_version }}
outdir: /tmp/data/macos_amd64
-
name: Download Frida macOS_arm64
uses: ./.github/actions/install-frida-devkit
with:
arch: arm64
os: macos
version: ${{ matrix.frida_version }}
outdir: /tmp/data/macos_arm64
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}