Skip to content

Commit

Permalink
Merge pull request #23 from matsuu/remove-toml-file
Browse files Browse the repository at this point in the history
Remove toml file from repo and releases
  • Loading branch information
matsuu committed Sep 4, 2019
2 parents 52f3328 + e69e78c commit f15a52a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 70 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,18 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v1

- name: Test
run: |
go test ./...
- name: Build
run: |
go build ./...
- name: Generate toml file
run: |
./kataribe -generate
- name: Test
run: |
go test ./...
- name: Upload release
if: startsWith(github.ref, 'refs/tags/v')
env:
Expand All @@ -36,23 +40,23 @@ jobs:
for arch in 386 amd64 arm ; do
echo Build for ${os}/${arch}
GOOS="${os}" GOARCH="${arch}" go build ./...
zip -q releases/kataribe-${ver}_${os}_${arch}.zip kataribe kataribe.toml LICENSE README.md
zip -q releases/kataribe-${ver}_${os}_${arch}.zip kataribe LICENSE README.md
rm kataribe
done
done
for os in darwin openbsd ; do
for arch in 386 amd64 ; do
echo Build for ${os}/${arch}
GOOS="${os}" GOARCH="${arch}" go build ./...
zip -q releases/kataribe-${ver}_${os}_${arch}.zip kataribe kataribe.toml LICENSE README.md
zip -q releases/kataribe-${ver}_${os}_${arch}.zip kataribe LICENSE README.md
rm kataribe
done
done
for os in windows ; do
for arch in 386 amd64 ; do
echo Build for ${os}/${arch}
GOOS="${os}" GOARCH="${arch}" go build ./...
zip -q releases/kataribe-${ver}_${os}_${arch}.zip kataribe.exe kataribe.toml LICENSE README.md
zip -q releases/kataribe-${ver}_${os}_${arch}.zip kataribe.exe LICENSE README.md
rm kataribe.exe
done
done
Expand Down
63 changes: 0 additions & 63 deletions kataribe.toml

This file was deleted.

0 comments on commit f15a52a

Please sign in to comment.