fix: Support specifying preloads for deeply nested objects, remove nested transactions #29
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
pull_request: | |
types: | |
- closed | |
branches: | |
- main | |
paths: | |
- 'example/**' | |
- 'options/**' | |
- 'plugin/**' | |
- 'proto/**' | |
- 'main.go' | |
- 'go.mod' | |
- 'go.sum' | |
jobs: | |
release: | |
if: github.event.pull_request.draft == false | |
name: Make a Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Dump Context | |
uses: crazy-max/ghaction-dump-context@v2 | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup Go With Caching | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.20" | |
- name: Create executable | |
shell: bash | |
run: | | |
go build -race | |
- name: Get semver-tags | |
run: | | |
go install github.com/catalystsquad/semver-tags@latest | |
- name: Semver Tags | |
id: semver-tags | |
working-directory: ./ | |
run: | | |
semver-tags run --github_action | yq -P -o=json "." | |
- name: Make Release | |
shell: bash | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
RELEASE_NAME: ${{ steps.semver-tags.outputs.new_release_git_tag }} | |
run: | | |
./.github/scripts/make_release.sh "${RELEASE_NAME}" |