Skip to content

Commit

Permalink
Fix GoReleaser GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrozadotdev committed Dec 7, 2023
1 parent 9761ee6 commit 7f4e994
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,16 @@ jobs:
with:
node-version: 18.18.0
- run: cd proxy && yarn run build:ci
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ">=1.21.3"
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
with:
distribution: goreleaser
version: latest
args: release --clean
args: release --clean --skip-validate
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Publish Package
Expand Down
3 changes: 0 additions & 3 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ builds:
- goos: darwin
goarch: arm

release:
draft: true

archives:
- id: archive_noncgo
builds: [build_noncgo]
Expand Down
2 changes: 1 addition & 1 deletion proxy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"client:prepare": "cd ../client && yarn && cd ../proxy",
"client:dev": "yarn --cwd ../client start",
"client:build": "yarn --cwd ../client build",
"build:ci": "yarn && yarn run client:prepare && yarn run client:build && yarn build && cd ../server && zip -r ../release.zip ./* && cd ..",
"build:ci": "yarn && yarn run client:prepare && yarn run client:build && yarn build",
"preview": "vite preview"
},
"devDependencies": {
Expand Down

0 comments on commit 7f4e994

Please sign in to comment.