1
0
mirror of https://github.com/IceWhaleTech/CasaOS.git synced 2025-07-12 23:50:14 +02:00

Modify the publishing process

This commit is contained in:
a624669980
2021-09-30 16:55:00 +08:00
parent 4a77548b23
commit a3ec7b70c9

View File

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