Skip to content

Commit

Permalink
Upload second binary
Browse files Browse the repository at this point in the history
  • Loading branch information
colinnewell committed Jan 23, 2022
1 parent 3a7643c commit e1de630
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- name: Build binaries
run: |
go build -o "pcap2mysql-log-$(git describe --tags)" -ldflags "-X github.com/colinnewell/pcap-cli/cli.Version=$(git describe --tags)" cmd/pcap2mysql-log/*.go
CGO_ENABLED=0 go build -o "pcap2mysql-summaries-$(git describe --tags)" -ldflags "-X github.com/colinnewell/pcap-cli/cli.Version=$(git describe --tags)" cmd/pcap2mysql-summaries/*.go
- name: Upload release artifacts
uses: actions/github-script@v3
Expand All @@ -37,7 +38,7 @@ jobs:
console.log("Release:", { release });
for (let file of await fs.readdir(".")) {
if (!file.startsWith("pcap2mysql-log-")) continue;
if (!file.startsWith("pcap2mysql-")) continue;
console.log("Uploading", file);
await github.repos.uploadReleaseAsset({
owner, repo,
Expand Down

0 comments on commit e1de630

Please sign in to comment.