Skip to content

Commit e9489b5

Browse files
committed
Add automatic build
1 parent ec04455 commit e9489b5

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/build.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# workflow name
2+
name: Generate release-artifacts
3+
4+
# on events
5+
on:
6+
release:
7+
types:
8+
- created
9+
10+
# workflow tasks
11+
jobs:
12+
generate:
13+
name: Generate cross-platform builds
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout the repository
17+
uses: actions/checkout@v2
18+
- name: Generate build files
19+
uses: thatisuday/go-cross-build@v1
20+
with:
21+
platforms: 'linux/amd64, darwin/amd64, windows/amd64, linux/arm, linux/arm64, android/arm, android/arm64'
22+
package: ''
23+
name: 'inpost-cli'
24+
compress: 'true'
25+
dest: 'dist'

0 commit comments

Comments
 (0)