|
1 |
| -on: |
| 1 | +on: |
2 | 2 | release:
|
3 | 3 | types: [published,edited]
|
4 | 4 | name: Build Release
|
5 | 5 | jobs:
|
6 |
| - release-linux-amd64: |
7 |
| - name: release linux/amd64 |
| 6 | + release-darwin-amd64: |
| 7 | + name: release darwin/amd64 |
8 | 8 | runs-on: ubuntu-latest
|
9 | 9 | steps:
|
10 | 10 | - uses: actions/checkout@master
|
|
18 | 18 | env:
|
19 | 19 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
20 | 20 | GOARCH: amd64
|
21 |
| - GOOS: linux |
| 21 | + GOOS: darwin |
| 22 | + |
| 23 | + release-darwin-arm64: |
| 24 | + name: release darwin/arm64 |
| 25 | + runs-on: ubuntu-latest |
| 26 | + steps: |
| 27 | + - uses: actions/checkout@master |
| 28 | + - name: Install Go |
| 29 | + uses: actions/setup-go@v2 |
| 30 | + with: |
| 31 | + go-version: 1.18.x |
| 32 | + - name: compile and release |
| 33 | + run: | |
| 34 | + ./ci-build.sh |
| 35 | + env: |
| 36 | + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 37 | + GOARCH: arm64 |
| 38 | + GOOS: darwin |
22 | 39 |
|
23 | 40 | release-linux-386:
|
24 | 41 | name: release linux/386
|
|
37 | 54 | GOARCH: "386"
|
38 | 55 | GOOS: linux
|
39 | 56 |
|
40 |
| - release-darwin-amd64: |
41 |
| - name: release darwin/amd64 |
| 57 | + release-linux-amd64: |
| 58 | + name: release linux/amd64 |
42 | 59 | runs-on: ubuntu-latest
|
43 | 60 | steps:
|
44 | 61 | - uses: actions/checkout@master
|
|
52 | 69 | env:
|
53 | 70 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
54 | 71 | GOARCH: amd64
|
55 |
| - GOOS: darwin |
| 72 | + GOOS: linux |
| 73 | + |
| 74 | + release-linux-arm64: |
| 75 | + name: release linux/arm64 |
| 76 | + runs-on: ubuntu-latest |
| 77 | + steps: |
| 78 | + - uses: actions/checkout@master |
| 79 | + - name: Install Go |
| 80 | + uses: actions/setup-go@v2 |
| 81 | + with: |
| 82 | + go-version: 1.18.x |
| 83 | + - name: compile and release |
| 84 | + run: | |
| 85 | + ./ci-build.sh |
| 86 | + env: |
| 87 | + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 88 | + GOARCH: arm64 |
| 89 | + GOOS: linux |
| 90 | + |
| 91 | + release-linux-mips64le: |
| 92 | + name: release linux/mips64le |
| 93 | + runs-on: ubuntu-latest |
| 94 | + steps: |
| 95 | + - uses: actions/checkout@master |
| 96 | + - name: Install Go |
| 97 | + uses: actions/setup-go@v2 |
| 98 | + with: |
| 99 | + go-version: 1.18.x |
| 100 | + - name: compile and release |
| 101 | + run: | |
| 102 | + ./ci-build.sh |
| 103 | + env: |
| 104 | + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 105 | + GOARCH: mips64le |
| 106 | + GOOS: linux |
| 107 | + |
| 108 | + release-linux-riscv64: |
| 109 | + name: release linux/riscv64 |
| 110 | + runs-on: ubuntu-latest |
| 111 | + steps: |
| 112 | + - uses: actions/checkout@master |
| 113 | + - name: Install Go |
| 114 | + uses: actions/setup-go@v2 |
| 115 | + with: |
| 116 | + go-version: 1.18.x |
| 117 | + - name: compile and release |
| 118 | + run: | |
| 119 | + ./ci-build.sh |
| 120 | + env: |
| 121 | + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 122 | + GOARCH: riscv64 |
| 123 | + GOOS: linux |
0 commit comments