File tree Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Original file line number Diff line number Diff line change 3232 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3333 VERSION : 1.1.1
3434
35+ release-linux-aarch64 :
36+ name : release linux/aarch64
37+ runs-on : ubuntu-latest
38+ steps :
39+ - name : setup go
40+ uses : actions/setup-go@v1
41+ with :
42+ go-version : 1.13
43+ - name : checkout source
44+ uses : actions/checkout@master
45+ - name : get dependencies
46+ run : |
47+ npm install github-release-cli
48+ - name : build
49+ run : |
50+ go build -v -o tresor_linux64a main.go
51+ sha256sum tresor_linux64a > tresor_linux64a.sha256
52+ env :
53+ GOARCH : arm64
54+ GOOS : linux
55+ CGO_ENABLED : 0
56+ - name : release
57+ run : |
58+ ./node_modules/github-release-cli/bin/github-release upload --token "${GITHUB_TOKEN}" --owner helloworlddan --repo tresor --tag "linux-v${VERSION}a" --name "tresor_linux64a" --body "Current stable release for Linux 64-bit ARM" tresor_linux64a tresor_linux64a.sha256
59+ env :
60+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
61+ VERSION : 1.1.1
62+
3563 release-darwin-amd64 :
3664 name : release darwin/amd64
3765 runs-on : ubuntu-latest
86114 ./node_modules/github-release-cli/bin/github-release upload --token "${GITHUB_TOKEN}" --owner helloworlddan --repo tresor --tag "windows-v${VERSION}" --name "tresor.exe" --body "Current stable release for Windows 64-bit" tresor.exe tresor.exe.sha256
87115 env :
88116 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
89- VERSION : 1.1.1
117+ VERSION : 1.1.1
You can’t perform that action at this time.
0 commit comments