X-Git-Url: https://git.r.bdr.sh/rbdr/mobius/blobdiff_plain/46acf0721f9bcd5304d0a0fbc10ebe544786d157..7bb8c198e96f367ea99ba649897b6b5716030e4b:/.circleci/config.yml?ds=sidebyside diff --git a/.circleci/config.yml b/.circleci/config.yml index d93cacc..da510e8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,7 +4,7 @@ jobs: build: working_directory: ~/repo docker: - - image: cimg/go:1.19.1 + - image: cimg/go:1.22.1 steps: - checkout # - restore_cache: @@ -27,12 +27,12 @@ jobs: deploy: docker: - - image: cimg/go:1.19.1 + - image: cimg/go:1.22.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 install github.com/tcnksm/ghr@latest - run: go install github.com/stevenmatthewt/semantics@latest - run: name: cross compile @@ -44,7 +44,7 @@ jobs: command: | 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/ + /home/circleci/go/bin/ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME --replace $tag dist/ else echo "The commit message(s) did not indicate a major/minor/patch version." fi