Merged MacOS and Linux releases into a single release
This commit is contained in:
parent
ca50342558
commit
4cb66f52fe
3 changed files with 47 additions and 80 deletions
|
|
@ -69,8 +69,8 @@ jobs:
|
|||
cd _site
|
||||
netlify deploy --dir docs --prod
|
||||
|
||||
'Release MacOS':
|
||||
# needs: Build
|
||||
'Release':
|
||||
needs: Build
|
||||
runs-on: macos
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
|
@ -90,7 +90,7 @@ jobs:
|
|||
go install github.com/goreleaser/goreleaser/v2@v2.12.7
|
||||
- name: Release
|
||||
run: |
|
||||
goreleaser release -f macos.goreleaser.yml --skip=validate --clean
|
||||
goreleaser release -f goreleaser.yml --skip=validate --clean
|
||||
env:
|
||||
GITEA_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
HOMEBREW_TAP_PRIVATE_KEY: ${{ secrets.HOMEBREW_TAP_PRIVATE_KEY }}
|
||||
|
|
@ -99,26 +99,3 @@ jobs:
|
|||
MACOS_NOTARY_KEY: ${{ secrets.MACOS_NOTARY_KEY }}
|
||||
MACOS_NOTARY_KEY_ID: ${{ secrets.MACOS_NOTARY_KEY_ID }}
|
||||
MACOS_NOTARY_ISSUER_ID: ${{ secrets.MACOS_NOTARY_ISSUER_ID }}
|
||||
|
||||
# release-linux:
|
||||
# needs: build
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
# - name: Checkout
|
||||
# uses: actions/checkout@v2
|
||||
# - name: Setup Go
|
||||
# uses: actions/setup-go@v3
|
||||
# with:
|
||||
# go-version: 1.22
|
||||
# - name: Configure
|
||||
# run: |
|
||||
# git config --global url."https://${{ secrets.GO_MODULES_TOKEN }}:x-oauth-basic@github.com/lmika".insteadOf "https://github.com/lmika"
|
||||
# - name: Release
|
||||
# uses: goreleaser/goreleaser-action@v1
|
||||
# if: startsWith(github.ref, 'refs/tags/')
|
||||
# with:
|
||||
# version: latest
|
||||
# args: release -f linux.goreleaser.yml --skip=validate --clean
|
||||
# env:
|
||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# HOMEBREW_GITHUB_TOKEN: ${{ secrets.HOMEBREW_GITHUB_TOKEN }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue