Skip to content

Commit

Permalink
chore: upload binary action
Browse files Browse the repository at this point in the history
  • Loading branch information
Hunter Thompson committed Sep 7, 2021
1 parent 90b0e49 commit dffa6bf
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .github/workflows/binary.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: upload binary

on:
release:
types: [published]

jobs:
release:
name: release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: wangyoucao577/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: linux
goarch: amd64
binary_name: kube2cdk8s
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2
- name: Test
run: go test -v -cover ./...
run: curl -fsSL https://get.pulumi.com | sh && ~/.pulumi/bin/pulumi plugin install resource kubernetes v2.4.2 && go test -v -cover ./...

0 comments on commit dffa6bf

Please sign in to comment.