mirror of
https://github.com/IceWhaleTech/CasaOS.git
synced 2025-09-17 17:15:16 +00:00
Modify the publishing process
This commit is contained in:
parent
cbd945536d
commit
5bcb663ac8
42
.github/workflows/casa.yml
vendored
42
.github/workflows/casa.yml
vendored
@ -74,35 +74,37 @@ 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:
|
||||||
working_dir: /workdir/casa
|
# working_dir: /workdir/casa
|
||||||
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: |
|
||||||
ls
|
ls
|
||||||
cd casa/build
|
cd casa/build
|
||||||
|
touch casa-linux-amd64
|
||||||
|
touch casa-linux-arm64
|
||||||
ls
|
ls
|
||||||
echo "::set-output name=status::success"
|
echo "::set-output name=status::success"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user