X-Git-Url: https://git.r.bdr.sh/rbdr/mobius/blobdiff_plain/337f66006e8d71027bbab72403f280c957232f3d..d0ba21fc13154c2ffc95829cd064a8e804ea93e3:/.circleci/config.yml?ds=sidebyside diff --git a/.circleci/config.yml b/.circleci/config.yml index 14f36f9..c1cffb8 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.21.4 steps: - checkout # - restore_cache: @@ -27,13 +27,12 @@ jobs: deploy: docker: - - image: cimg/go:1.19.1 + - image: cimg/go:1.21.4 # 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: find / -name ghr + - run: go install github.com/tcnksm/ghr@latest - run: go install github.com/stevenmatthewt/semantics@latest - run: name: cross compile @@ -44,10 +43,6 @@ jobs: name: create release command: | tag=$(/home/circleci/go/bin/semantics --output-tag) - - # wat?? - ghr=$(/home/circleci/go/pkg/mod/cache/download/github.com/tcnksm/ghr) - if [ "$tag" ]; then /home/circleci/go/bin/ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME --replace $tag dist/ else