Skip to content

Release v2.168.0

Release v2.168.0 #135

# This file was generated by the excavator check 'excavator/manage-circleci' as specified in .circleci/template.sh.
# To request a modification to the general template, file an issue on Excavator.
# To manually manage the CircleCI configuration for this project, remove the .circleci/template.sh file.
name: publish-godel-artifacts
on:
push:
tags:
- 'v[0-9]*'
jobs:
run-godel-publish:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
#####################
# START Go dist setup
#####################
- id: set-gopath
run: |
echo "GOPATH=$(go env GOPATH)" >> "$GITHUB_OUTPUT"
echo "Set GOPATH=$(go env GOPATH) in GITHUB_OUTPUT at $GITHUB_OUTPUT"
echo "GOPATH=$(go env GOPATH)" >> "$GITHUB_ENV"
echo "Set GOPATH=$(go env GOPATH) in GITHUB_ENV at $GITHUB_ENV"
- id: go-dist-info
uses: palantir/github-actions/go-dist-info@7004016b4a8d2706f6786928a3043c4f2afad160 # 0.1.0
with:
gopath: ${{ steps.set-gopath.outputs.GOPATH }}
go-version: go1.26.0
- id: restore-go-dist-from-cache
if: steps.go-dist-info.outputs.go-dist-exists != 'true'
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
with:
path: |
${{ steps.set-gopath.outputs.GOPATH }}/go-dists/${{ steps.go-dist-info.outputs.go-dist-version }}
key: ${{ runner.os }}-${{ steps.go-dist-info.outputs.go-dist-version }}
- id: go-dist-setup
uses: palantir/github-actions/go-dist-setup@7004016b4a8d2706f6786928a3043c4f2afad160 # 0.1.0
with:
gopath: ${{ steps.set-gopath.outputs.gopath }}
go-version: ${{ steps.go-dist-info.outputs.go-dist-version }}
#####################
# END Go dist setup
#####################
- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
with:
path: |
${{ env.GOPATH }}/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
with:
path: |
~/.godel
key: ${{ runner.os }}-godel-${{ hashFiles('godelw', 'godel/config/godel.yml') }}
- run: ./godelw mod
- run: ./godelw dist
- run: ./godelw publish github --add-v-prefix --api-url=$GITHUB_API_URL --user=palantir --repository=godel --token=${{ secrets.GITHUB_TOKEN }}