Skip to content

Depot CLI 2.29.0

Depot CLI 2.29.0 #102

Workflow file for this run

name: release
on:
release:
types:
- published
jobs:
release:
runs-on: ubuntu-latest-16-cores
if: startsWith(github.ref, 'refs/tags/v') && !contains(github.ref, 'dev-')
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: "1.20.5"
check-latest: true
cache: true
- name: Compute tag name
id: tag-name
run: echo "::set-output name=tag-name::${GITHUB_REF#refs/tags/}"
- uses: goreleaser/goreleaser-action@v4
with:
version: 1.19.0
args: release
env:
GITHUB_TOKEN: ${{ secrets.BOT_PUBLIC_GITHUB_TOKEN }}
GORELEASER_CURRENT_TAG: ${{ steps.tag-name.outputs.tag-name }}