-
Notifications
You must be signed in to change notification settings - Fork 44
44 lines (42 loc) · 1.05 KB
/
release-tests.yaml
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-tests
on:
pull_request:
branches:
- master
- releases/*
push:
branches:
- master
- releases/*
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.21'
check-latest: true
- name: Checkout
uses: actions/checkout@v1
with:
path: ./src/github.com/${{ github.repository }}
- name: GoReleaser Action
uses: goreleaser/goreleaser-action@v1
with:
version: latest
args: release --snapshot --skip=publish,sign
env:
GOPATH: ${{ runner.workspace }}
- uses: actions/upload-artifact@master
with:
name: macOS build (amd64)
path: ./dist/doppler_darwin_amd64_v1/doppler
- uses: actions/upload-artifact@master
with:
name: macOS build (arm64)
path: ./dist/doppler_darwin_arm64/doppler
- uses: actions/upload-artifact@master
with:
name: Linux build (amd64)
path: ./dist/doppler_linux_amd64_v1/doppler