|
@@ -77,29 +77,29 @@ jobs:
|
|
|
with:
|
|
|
node-version: '14'
|
|
|
|
|
|
- # - name: Build frontend with nodejs and yarn
|
|
|
- # run: |
|
|
|
- # cd casa/UI
|
|
|
- # ls
|
|
|
- # yarn install
|
|
|
- # yarn build
|
|
|
+ - name: Build frontend with nodejs and yarn
|
|
|
+ run: |
|
|
|
+ cd casa/UI
|
|
|
+ ls
|
|
|
+ yarn install
|
|
|
+ yarn build
|
|
|
|
|
|
- name: list work
|
|
|
run: pwd
|
|
|
|
|
|
- # - name: Build with xgo
|
|
|
- # uses: crazy-max/ghaction-xgo@v1
|
|
|
- # with:
|
|
|
- # xgo_version: latest
|
|
|
- # go_version: ${{ matrix.go_version }}
|
|
|
- # dest: build
|
|
|
- # prefix: casa
|
|
|
- # targets: linux/amd64,linux/arm64
|
|
|
- # v: true
|
|
|
- # x: false
|
|
|
- # race: false
|
|
|
- # ldflags: -s -w
|
|
|
- # buildmode: default
|
|
|
+ - name: Build with xgo
|
|
|
+ uses: crazy-max/ghaction-xgo@v1
|
|
|
+ with:
|
|
|
+ xgo_version: latest
|
|
|
+ go_version: ${{ matrix.go_version }}
|
|
|
+ dest: build
|
|
|
+ prefix: casa
|
|
|
+ targets: linux/amd64,linux/arm64
|
|
|
+ v: true
|
|
|
+ x: false
|
|
|
+ race: false
|
|
|
+ ldflags: -s -w
|
|
|
+ buildmode: default
|
|
|
|
|
|
- name: List Files
|
|
|
run: |
|
|
@@ -120,11 +120,7 @@ jobs:
|
|
|
- name: list work
|
|
|
run: ls
|
|
|
|
|
|
- # - name: move
|
|
|
- # run: |
|
|
|
- # ls
|
|
|
- # mv /workdir/casa/upload/linux-amd64-casaos.tar.gz ./linux-amd64-casaos.tar.gz
|
|
|
- # mv /workdir/casa/upload/linux-arm64-casaos.tar.gz ./linux-arm64-casaos.tar.gz
|
|
|
+
|
|
|
- name: Update release
|
|
|
uses: meeDamian/github-release@2.0
|
|
|
with:
|