Skip to content

Commit

Permalink
Log out cwd
Browse files Browse the repository at this point in the history
  • Loading branch information
danawoodman committed Feb 26, 2024
1 parent 8b31bf2 commit 2f37821
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions:
packages: write

jobs:
build:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand All @@ -22,7 +22,9 @@ jobs:
go-version-file: "go.mod"

- name: Build for tests
run: make build
run: |
pwd
make build
- name: Run tests
run: make test
Expand Down
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,13 @@ watch-e2e-test:

.PHONY: build
build:
@CGO_ENABLED=0 go build -a -gcflags=all="-l -B" -ldflags="-s -w" -o dist/cng ./cmd/cng
@echo "🤖 building cng..."
@CGO_ENABLED=0 go build -a -gcflags=all="-l -B" -ldflags="-s -w" -o ./dist/cng ./cmd/cng
@echo "🎉 cng built to dist/cng"

.PHONY: install
install:
@echo "🤖 installing cng..."
@go install ./cmd/cng
@echo "🎉 cng installed to: $(shell which cng)"

Expand Down

0 comments on commit 2f37821

Please sign in to comment.