mirror of
https://github.com/IceWhaleTech/CasaOS.git
synced 2025-11-07 07:09:46 +00:00
Modify the publishing process
This commit is contained in:
parent
72531cf6c2
commit
4aeeea2325
20
.github/workflows/casa.yml
vendored
20
.github/workflows/casa.yml
vendored
@ -50,8 +50,7 @@ jobs:
|
|||||||
sudo chown $USER:$GROUPS /workdir
|
sudo chown $USER:$GROUPS /workdir
|
||||||
|
|
||||||
|
|
||||||
- name: list work
|
|
||||||
run: ls
|
|
||||||
|
|
||||||
|
|
||||||
- name: Clone source code
|
- name: Clone source code
|
||||||
@ -82,6 +81,9 @@ jobs:
|
|||||||
yarn install
|
yarn install
|
||||||
yarn build
|
yarn build
|
||||||
|
|
||||||
|
- name: list work
|
||||||
|
run: ls
|
||||||
|
|
||||||
- name: Build with xgo
|
- name: Build with xgo
|
||||||
uses: crazy-max/ghaction-xgo@v1
|
uses: crazy-max/ghaction-xgo@v1
|
||||||
with:
|
with:
|
||||||
@ -112,17 +114,19 @@ jobs:
|
|||||||
./$PACK_SH
|
./$PACK_SH
|
||||||
echo "::set-output name=status::success"
|
echo "::set-output name=status::success"
|
||||||
|
|
||||||
- name: list work
|
|
||||||
run: |
|
|
||||||
ls
|
|
||||||
|
|
||||||
|
- name: move
|
||||||
|
ru: |
|
||||||
|
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:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
files:
|
files: >
|
||||||
/workdir/casa/upload/linux-amd64-casaos.tar.gz
|
linux-amd64-casaos.tar.gz
|
||||||
/workdir/casa/upload/linux-arm64-casaos.tar.gz
|
linux-arm64-casaos.tar.gz
|
||||||
tag: v${{ env.VERSION }}
|
tag: v${{ env.VERSION }}
|
||||||
body: >
|
body: >
|
||||||
${{ env.BODY }}
|
${{ env.BODY }}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user