Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

Commit

Permalink
Fix go build error on pull request (#80)
Browse files Browse the repository at this point in the history
* Temporary removal of ``/v``

* Fix go build on pull request

* Fix typo
  • Loading branch information
wanjohiryan authored Jun 19, 2023
1 parent 1414947 commit f8c6478
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ghcr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ jobs:
go-version: 1.18
-
name: Build binary
run: go build -o arc3dia -v ./
run: go build -v ./
-
name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: gobinary
path: ./arc3dia
path: ./Arc3dia
retention-days: 5

build-and-push-git-pkg:
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,12 @@ jobs:
uses: actions/setup-go@v4
with:
go-version: 1.18
-
name: Download dependencies
run: go get -v -t -d .
-
name: Build binary
run: go build -o arc3dia -v ./
run: go build -o arc3dia ./main.go
-
name: Upload artifact
uses: actions/upload-artifact@v3
Expand Down Expand Up @@ -69,4 +72,4 @@ jobs:
echo -e "\033[01;34mDocker run successful\033[0m"
exit 0
fi
shell: bash
shell: bash

0 comments on commit f8c6478

Please sign in to comment.