Skip to content

Commit dffa6bf

Browse files
author
Hunter Thompson
committed
chore: upload binary action
1 parent 90b0e49 commit dffa6bf

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

.github/workflows/binary.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: upload binary
3+
4+
on:
5+
release:
6+
types: [published]
7+
8+
jobs:
9+
release:
10+
name: release
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: wangyoucao577/go-release-action@v1.19
15+
with:
16+
github_token: ${{ secrets.GITHUB_TOKEN }}
17+
goos: linux
18+
goarch: amd64
19+
binary_name: kube2cdk8s

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ jobs:
1818
- name: Checkout code
1919
uses: actions/checkout@v2
2020
- name: Test
21-
run: go test -v -cover ./...
21+
run: curl -fsSL https://get.pulumi.com | sh && ~/.pulumi/bin/pulumi plugin install resource kubernetes v2.4.2 && go test -v -cover ./...

0 commit comments

Comments
 (0)