Skip to content

Commit

Permalink
Chore: only build what is necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
till committed Sep 18, 2021
1 parent 3c4cebb commit 0d8e894
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ jobs:
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: --snapshot --skip-publish --rm-dist
args: build --single-target --snapshot --rm-dist
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ bin:=./dist/ansible-openstack-inventory_darwin_amd64/ansible-openstack-inventory

.PHONY: build
build:
goreleaser --snapshot --skip-publish --rm-dist
goreleaser build \
--single-target \
--snapshot \
--rm-dist

.PHONY: dev
dev:
Expand Down

0 comments on commit 0d8e894

Please sign in to comment.