Re-enabled MacOS release
Some checks failed
ci / Site (push) Successful in 23s
ci / Build (push) Successful in 3m31s
ci / Release MacOS (push) Failing after 5m13s

This commit is contained in:
Leon Mika 2025-10-26 10:18:41 +11:00
parent 1c89b10bf6
commit 87749738d7
2 changed files with 28 additions and 32 deletions

View file

@ -60,26 +60,25 @@ jobs:
npm install npm install
hugo --minify hugo --minify
# 'Release MacOS': 'Release MacOS':
# needs: build # needs: build
# runs-on: macos runs-on: macos
# steps: steps:
# - name: Checkout - name: Checkout
# uses: actions/checkout@v2 uses: actions/checkout@v2
# - name: Setup Go - name: Setup Go
# uses: actions/setup-go@v3 uses: actions/setup-go@v3
# with: with:
# go-version: 1.25 go-version: 1.25
# - name: Configure - name: Configure
# run: | run: |
# git config --global url."https://${{ secrets.GO_MODULES_TOKEN }}:x-oauth-basic@github.com/lmika".insteadOf "https://github.com/lmika" git config --global url."https://${{ secrets.GO_MODULES_TOKEN }}:x-oauth-basic@github.com/lmika".insteadOf "https://github.com/lmika"
# - name: Setup Goreleaser - name: Setup Goreleaser
# run: | run: |
# go install github.com/goreleaser/goreleaser/v2@v2.12.7 go install github.com/goreleaser/goreleaser/v2@v2.12.7
# - name: Release - name: Release
# # if: startsWith(github.ref, 'refs/tags/') # if: startsWith(github.ref, 'refs/tags/')
# run: | run: |
# goreleaser release -f macos.goreleaser.yml --skip=validate --clean goreleaser release -f macos.goreleaser.yml --skip=validate --clean
# env: env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} HOMEBREW_TAP_PRIVATE_KEY: ${{ secrets.HOMEBREW_TAP_PRIVATE_KEY }}
# HOMEBREW_GITHUB_TOKEN: ${{ secrets.HOMEBREW_GITHUB_TOKEN }}

View file

@ -12,20 +12,17 @@ builds:
archives: archives:
- id: zip - id: zip
builds:
- dynamo-browse
wrap_in_directory: true wrap_in_directory: true
format_overrides: formats:
- goos: macos - tar.gz
format: tar.gz
homebrew_casks: homebrew_casks:
- name: dynamo-browse - name: dynamo-browse
repository: repository:
owner: lmika git:
name: homebrew-audax url: https://lmika.dev/casks/dynamo-browse.git
token: "{{ .Env.HOMEBREW_GITHUB_TOKEN }}" private_key: "{{ .Env.HOMEBREW_TAP_PRIVATE_KEY }}"
folder: Formula directory: Casks
homepage: https://dynamo-browse.lmika.dev/ homepage: https://dynamo-browse.lmika.dev/
description: TUI tools for working with DynamoDB description: TUI tools for working with DynamoDB
license: MIT license: MIT
@ -34,4 +31,4 @@ checksum:
name_template: 'checksums-macos.txt' name_template: 'checksums-macos.txt'
snapshot: snapshot:
name_template: "{{ .Tag }}-next" version_template: "{{ .Tag }}-next"