From 1246e868133f0c1849e642de41e309cd22595508 Mon Sep 17 00:00:00 2001 From: Andy Cheung Date: Wed, 7 Apr 2021 14:44:35 -0400 Subject: [PATCH] see if i can split out build and upload easily --- .github/workflows/build.yml | 8 +++++++- make.sh | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 68e6787..ad80fbe 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,7 +1,11 @@ name: sigsci-module-golang on: push: - branches: [ master ] + branches: + - master + - andy/pr-ci + pull_request: + jobs: build: @@ -18,6 +22,8 @@ jobs: aws-region: us-west-2 - name: Check out code into the Go module directory uses: actions/checkout@v2 + - name: build + run: ./scripts/build.sh - name: Run make script run: | aws ecr get-login-password --region us-west-2 | docker login --username AWS --password-stdin 803688608479.dkr.ecr.us-west-2.amazonaws.com diff --git a/make.sh b/make.sh index 8d1aa07..2a82892 100755 --- a/make.sh +++ b/make.sh @@ -1,7 +1,7 @@ #!/bin/sh set -ex -./scripts/build.sh +# ./scripts/build.sh if [ -n "${PROD_ID}" ]; then ## setup our package properties by distro