aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Halter <868228+jhalter@users.noreply.github.com>2022-09-15 14:24:19 -0700
committerJeff Halter <868228+jhalter@users.noreply.github.com>2022-09-15 14:24:19 -0700
commit46acf0721f9bcd5304d0a0fbc10ebe544786d157 (patch)
treebc756626b2698a05518f5fa0fb99f68425612b02
parent043c00da52efd5b7d9ef15750945ee55e6f78e7a (diff)
Fix CI config
-rw-r--r--.circleci/config.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 9cb2b42..d93cacc 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -4,7 +4,7 @@ jobs:
build:
working_directory: ~/repo
docker:
- - image: cimg/go:1.18.3
+ - image: cimg/go:1.19.1
steps:
- checkout
# - restore_cache:
@@ -27,13 +27,13 @@ jobs:
deploy:
docker:
- - image: cimg/go:1.16.6
+ - image: cimg/go:1.19.1
# working_directory: /go/src/github.com/jhalter/mobius
steps:
- checkout
- run: go get -u github.com/mitchellh/gox
- run: go get -u github.com/tcnksm/ghr
- - run: go get -u github.com/stevenmatthewt/semantics
+ - run: go install github.com/stevenmatthewt/semantics@latest
- run:
name: cross compile
command: |
@@ -42,7 +42,7 @@ jobs:
- run:
name: create release
command: |
- tag=$(semantics --output-tag)
+ tag=$(/home/circleci/go/bin/semantics --output-tag)
if [ "$tag" ]; then
ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME --replace $tag dist/
else