Re-enabled MacOS release
This commit is contained in:
parent
1c89b10bf6
commit
87749738d7
2 changed files with 28 additions and 32 deletions
|
|
@ -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 }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue