Skip to content

Commit

Permalink
see if i can split out build and upload easily
Browse files Browse the repository at this point in the history
  • Loading branch information
andy-fastly committed Apr 7, 2021
1 parent 159bc9d commit 1246e86
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
name: sigsci-module-golang
on:
push:
branches: [ master ]
branches:
- master
- andy/pr-ci
pull_request:


jobs:
build:
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion make.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 1246e86

Please sign in to comment.