Skip to content

chore: revert "feat: jsonpath upgrade, new default module format for … #1351

chore: revert "feat: jsonpath upgrade, new default module format for …

chore: revert "feat: jsonpath upgrade, new default module format for … #1351

Workflow file for this run

name: Release
on:
push:
branches:
- main
permissions:
contents: write
jobs:
release:
name: Release
runs-on:
group: windows-latest-large
if: startsWith(github.event.head_commit.message, 'ci:') != true
steps:
- name: Setup environment
run: |-
chcp 65001 #set code page to utf-8
echo ("GOPRIVATE=github.com/speakeasy-api") >> $env:GITHUB_ENV
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- name: Conventional Commits
uses: TriPSs/conventional-changelog-action@67139193614f5b9e8db87da1bd4240922b34d765 # v6.0.0
with:
github-token: ${{ secrets.github_token }}
skip-commit: "true"
output-file: "false"
skip-on-empty: "false"
preset: conventionalcommits
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version-file: "go.mod"
# Reference: https://github.com/actions/setup-go/issues/495
cache: false
# More assembly might be required: Docker logins, GPG, etc. It all depends
# on your needs.
- name: Configure git for private modules
run: git config --global url."https://speakeasybot:${{ secrets.BOT_REPO_TOKEN }}@github.com".insteadOf "https://github.com"
- name: Setup Choco
uses: crazy-max/ghaction-chocolatey@2ae99523e93879734d432250f87e2c45c379cd60 # v3.2.0
with:
args: --version
- name: goreleaser
uses: goreleaser/goreleaser-action@9ed2f89a662bf1735a48bc8557fd212fa902bebf # v6.1.0
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.BOT_REPO_TOKEN }}
CHOCOLATEY_API_KEY: ${{ secrets.CHOCOLATEY_API_KEY }}