X-Git-Url: https://git.r.bdr.sh/rbdr/mobius/blobdiff_plain/337f66006e8d71027bbab72403f280c957232f3d..5b8da5035083a849d6116672c8701cc9c184a830:/.circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml index 14f36f9..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,13 +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: 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