Skip to content

Commit

Permalink
fix: fix actions
Browse files Browse the repository at this point in the history
  • Loading branch information
elfgzp committed Nov 17, 2020
1 parent a39d86e commit 36417bc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 13 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
GOARCH: "386"
GOOS: linux
MAIN_GO_PATH: ./main.go
BUILD_OUTPUT: gortal
MAIN_GO_PATH: ./
release-linux-amd64:
name: release linux/amd64
runs-on: ubuntu-latest
Expand All @@ -28,8 +27,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
GOARCH: amd64
GOOS: linux
MAIN_GO_PATH: ./main.go
BUILD_OUTPUT: gortal
MAIN_GO_PATH: ./
release-darwin-386:
name: release darwin/386
runs-on: ubuntu-latest
Expand All @@ -41,8 +39,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
GOARCH: "386"
GOOS: darwin
MAIN_GO_PATH: ./main.go
BUILD_OUTPUT: gortal
MAIN_GO_PATH: ./
release-darwin-amd64:
name: release darwin/amd64
runs-on: ubuntu-latest
Expand All @@ -54,8 +51,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
GOARCH: amd64
GOOS: darwin
MAIN_GO_PATH: ./main.go
BUILD_OUTPUT: gortal
MAIN_GO_PATH: ./
release-windows-386:
name: release windows/386
runs-on: ubuntu-latest
Expand All @@ -67,8 +63,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
GOARCH: "386"
GOOS: windows
MAIN_GO_PATH: ./main.go
BUILD_OUTPUT: gortal
MAIN_GO_PATH: ./
release-windows-amd64:
name: release windows/amd64
runs-on: ubuntu-latest
Expand All @@ -80,5 +75,4 @@ jobs:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
GOARCH: amd64
GOOS: windows
MAIN_GO_PATH: ./main.go
BUILD_OUTPUT: gortal
MAIN_GO_PATH: ./
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN mkdir /root/.ssh
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 go build -o gortal main.go
RUN CGO_ENABLED=0 go build ./
# CGO_ENABLED=0
# Change go-release.action

Expand Down

0 comments on commit 36417bc

Please sign in to comment.