Compare commits

..
Author SHA1 Message Date
Dustin Pianalto 562ec6acaf Test github.ref to get branch name
CI / build (push) Has been cancelled
2020-08-30 17:09:13 -08:00
Dustin Pianalto 3169953f3f Test github.ref to get branch name
CI / build (push) Has been cancelled
2020-08-30 17:07:37 -08:00
Dustin Pianalto d119425236 revert to previous method of getting branch name
CI / build (push) Has been cancelled
2020-08-30 16:51:00 -08:00
Dustin Pianalto ce1bbbc445 Check branch name 2020-08-30 16:46:05 -08:00
+1 -6
View File
@@ -4,16 +4,13 @@ name: CI
# with a tag like v1.0.0 or v1.0.0-dev
on:
push:
branches:
- master
- development
tags:
- v[0-9]+.[0-9]+.[0-9]+
- v[0-9]+.[0-9]+.[0-9]+-[a-zA-Z]+
jobs:
build:
if: github.event.base_ref == 'refs/heads/master' || github.event.base_ref == 'refs/heads/development'
if: endsWith(github.ref, 'master') || endsWith(github.ref, 'development')
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
@@ -31,8 +28,6 @@ jobs:
- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1
with:
repositories: goff
- name: Get Version
id: get_version