diff --git a/.github/workflows/ghcr.yaml b/.github/workflows/ghcr.yaml index 1bab004..a1de362 100644 --- a/.github/workflows/ghcr.yaml +++ b/.github/workflows/ghcr.yaml @@ -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: diff --git a/.github/workflows/pull-request.yaml b/.github/workflows/pull-request.yaml index 7753771..7d6b49a 100644 --- a/.github/workflows/pull-request.yaml +++ b/.github/workflows/pull-request.yaml @@ -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 @@ -69,4 +72,4 @@ jobs: echo -e "\033[01;34mDocker run successful\033[0m" exit 0 fi - shell: bash \ No newline at end of file + shell: bash