|
@@ -10,10 +10,10 @@ jobs:
|
|
|
name: Build Linux All
|
|
|
runs-on: ubuntu-latest
|
|
|
steps:
|
|
|
- - name: Set up Go 1.15
|
|
|
+ - name: Set up Go 1.16
|
|
|
uses: actions/setup-go@v1
|
|
|
with:
|
|
|
- go-version: 1.15
|
|
|
+ go-version: 1.16
|
|
|
|
|
|
- name: Checkout code
|
|
|
uses: actions/checkout@v2
|
|
@@ -34,10 +34,10 @@ jobs:
|
|
|
name: Build Windows amd64
|
|
|
runs-on: windows-latest
|
|
|
steps:
|
|
|
- - name: Set up Go 1.15
|
|
|
+ - name: Set up Go 1.16
|
|
|
uses: actions/setup-go@v1
|
|
|
with:
|
|
|
- go-version: 1.15
|
|
|
+ go-version: 1.16
|
|
|
|
|
|
- name: Checkout code
|
|
|
uses: actions/checkout@v2
|
|
@@ -58,10 +58,10 @@ jobs:
|
|
|
name: Build Darwin amd64
|
|
|
runs-on: macOS-latest
|
|
|
steps:
|
|
|
- - name: Set up Go 1.15
|
|
|
+ - name: Set up Go 1.16
|
|
|
uses: actions/setup-go@v1
|
|
|
with:
|
|
|
- go-version: 1.15
|
|
|
+ go-version: 1.16
|
|
|
|
|
|
- name: Checkout code
|
|
|
uses: actions/checkout@v2
|
|
@@ -69,6 +69,7 @@ jobs:
|
|
|
- name: Build
|
|
|
run: |
|
|
|
make BUILD_NUMBER="${GITHUB_REF#refs/tags/v}" service build/nebula-darwin-amd64.tar.gz
|
|
|
+ make BUILD_NUMBER="${GITHUB_REF#refs/tags/v}" service build/nebula-darwin-arm64.tar.gz
|
|
|
mkdir release
|
|
|
mv build/*.tar.gz release
|
|
|
|
|
@@ -159,6 +160,16 @@ jobs:
|
|
|
asset_name: nebula-darwin-amd64.tar.gz
|
|
|
asset_content_type: application/gzip
|
|
|
|
|
|
+ - name: Upload darwin-arm64
|
|
|
+ uses: actions/[email protected]
|
|
|
+ env:
|
|
|
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
+ with:
|
|
|
+ upload_url: ${{ steps.create_release.outputs.upload_url }}
|
|
|
+ asset_path: ./darwin-latest/nebula-darwin-arm64.tar.gz
|
|
|
+ asset_name: nebula-darwin-arm64.tar.gz
|
|
|
+ asset_content_type: application/gzip
|
|
|
+
|
|
|
- name: Upload windows-amd64
|
|
|
uses: actions/[email protected]
|
|
|
env:
|