File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 1
1
name : sigsci-module-golang
2
2
on :
3
3
push :
4
- branches : [ master ]
4
+ branches :
5
+ - master
6
+ pull_request :
7
+
5
8
6
9
jobs :
7
10
build :
18
21
aws-region : us-west-2
19
22
- name : Check out code into the Go module directory
20
23
uses : actions/checkout@v2
21
- - name : Run make script
24
+ - name : build
25
+ run : ./scripts/build.sh
26
+ - name : upload
27
+ if : ${{ github.ref == '/refs/heads/master' }}
22
28
run : |
23
29
aws ecr get-login-password --region us-west-2 | docker login --username AWS --password-stdin 803688608479.dkr.ecr.us-west-2.amazonaws.com
24
- ./make .sh
30
+ ./upload .sh
25
31
env :
26
32
PROD_ID : ${{ secrets.SIGSCI_PROD_CANONICAL_ID }}
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
set -ex
3
3
4
- ./scripts/build.sh
5
-
6
4
if [ -n " ${PROD_ID} " ]; then
7
5
# # setup our package properties by distro
8
6
PKG_NAME=" sigsci-module-golang"
You can’t perform that action at this time.
0 commit comments