-
Notifications
You must be signed in to change notification settings - Fork 176
46 lines (37 loc) · 933 Bytes
/
binary.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
name: binary
on:
push:
workflow_dispatch:
tags:
- "*"
concurrency: ${{ github.workflow }}-${{ github.ref }}
permissions:
contents: write
packages: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- run: git fetch --force --tags
- uses: actions/setup-go@v4
with:
go-version: ">=1.21.0"
- name: Go Mod
run: go mod download
# TODO remove temporary workaround
- run: bun i --frozen-lockfile
- run: git reset --hard
- uses: goreleaser/goreleaser-action@v4
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.SST_GITHUB_TOKEN }}
AUR_KEY: ${{ secrets.AUR_KEY }}