Modify the publishing process

This commit is contained in:
a624669980 2021-09-30 15:24:18 +08:00
parent dbc6a4265a
commit 1aa15932a0

View file

@ -51,10 +51,6 @@ jobs:
- name: Set enviroment for github-release
run: |
echo "VERSION=$(cat /workdir/casa/types/system.go | grep CURRENTVERSION | awk '$2 == "CURRENTVERSION"{print $4}' | sed 's/"//g')" >>$GITHUB_ENV
echo "BODY=$(cat /workdir/casa/types/system.go | grep BODY | awk -F= '{print $2}' | sed 's/"//g')" >>$GITHUB_ENV
- name: Clone source code
@ -65,6 +61,14 @@ jobs:
ln -sf /workdir/casa $GITHUB_WORKSPACE/casa
ls
- name: Set enviroment for github-release
run: |
echo "VERSION=$(cat /workdir/casa/types/system.go | grep CURRENTVERSION | awk '$2 == "CURRENTVERSION"{print $4}' | sed 's/"//g')" >>$GITHUB_ENV
echo "BODY=$(cat /workdir/casa/types/system.go | grep BODY | awk -F= '{print $2}' | sed 's/"//g')" >>$GITHUB_ENV
- name: Use Node.js
uses: actions/setup-node@v2
with: