-
-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (32 loc) · 935 Bytes
/
build.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
name: Build
on:
push:
pull_request:
repository_dispatch:
types: [build-pre-rel, build-ramicro-pre-rel]
jobs:
build:
name: Build
runs-on: windows-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16
- name: Check out source code
uses: actions/checkout@v2
with:
# needed to calc build number via git log --oneline
fetch-depth: 0
- name: Build
env:
CERT_PWD: ${{ secrets.CERT_PWD }}
run: .\doit.bat -ci
# a separate step from -ci to make logs easier to read
- name: Upload to s3 etc.
env:
AWS_SECRET: ${{ secrets.AWS_SECRET }}
AWS_ACCESS: ${{ secrets.AWS_ACCESS }}
SPACES_KEY: ${{ secrets.SPACES_KEY }}
SPACES_SECRET: ${{ secrets.SPACES_SECRET }}
run: .\doit.bat -ci-upload