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