Modify the publishing process
This commit is contained in:
parent
dbc6a4265a
commit
1aa15932a0
12
.github/workflows/casa.yml
vendored
12
.github/workflows/casa.yml
vendored
|
@ -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
|
- name: Clone source code
|
||||||
|
@ -65,6 +61,14 @@ jobs:
|
||||||
ln -sf /workdir/casa $GITHUB_WORKSPACE/casa
|
ln -sf /workdir/casa $GITHUB_WORKSPACE/casa
|
||||||
ls
|
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
|
- name: Use Node.js
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue