Skip to content

Commit

Permalink
fixed darwin binary job indent #2
Browse files Browse the repository at this point in the history
  • Loading branch information
zebox committed Jan 10, 2023
1 parent c646f99 commit 6b71ba4
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,32 +169,32 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

release-darwin-binary:
needs: release-linux-windows-binary
if: ${{ startsWith(github.ref, 'refs/tags/') }}
runs-on: macos-latest
steps:

- name: set up go 1.19
uses: actions/setup-go@v3
with:
go-version: '1.19'
release-darwin-binary:
needs: release-linux-windows-binary
if: ${{ startsWith(github.ref, 'refs/tags/') }}
runs-on: macos-latest

steps:
- name: set up go 1.19
uses: actions/setup-go@v3
with:
go-version: '1.19'
id: go

- name: checkout
uses: actions/checkout@v2

- name: restore JS build artifacts
uses: actions/download-artifact@v2
with:
name: js-build-artifacts
path: app/web

- name: Create release
uses: goreleaser/goreleaser-action@v4
with:
distribution: goreleaser
version: latest
args: release --rm-dist --config .goreleaser-darwin.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: checkout
uses: actions/checkout@v2

- name: restore JS build artifacts
uses: actions/download-artifact@v2
with:
name: js-build-artifacts
path: app/web

- name: Create release
uses: goreleaser/goreleaser-action@v4
with:
distribution: goreleaser
version: latest
args: release --rm-dist --config .goreleaser-darwin.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 6b71ba4

Please sign in to comment.