-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
💚 Fixing CI Build. Signed-off-by: zhanghengxin <[email protected]>
- Loading branch information
1 parent
d9b136e
commit 0d06b3f
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,7 +42,7 @@ jobs: | |
id: get_version | ||
# run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} | ||
# run: echo "VERSION=$(git describe --abbrev=0 --tags | awk -F- '{print $1}')" >> $GITHUB_ENV | ||
run: echo "VERSION=v99.99.99" >> $GITHUB_ENV | ||
run: echo "VERSION=v00.00.00" >> $GITHUB_ENV | ||
|
||
- name: show version | ||
id: show_version | ||
|
@@ -79,7 +79,7 @@ jobs: | |
- name: copy tar to target hostname | ||
shell: bash | ||
run: | | ||
sshpass -p "${{ secrets.ssh_password }}" scp -r -o StrictHostKeyChecking=no -P 22 ./linux-all-casaos-v99.99.99.tar.gz [email protected]:/var/www/download | ||
sshpass -p "${{ secrets.ssh_password }}" scp -r -o StrictHostKeyChecking=no -P 22 ./linux-all-casaos-v00.00.00.tar.gz [email protected]:/var/www/download | ||
echo "ping success" | ||
- name: Error Handling | ||
if: ${{ failure() }} | ||
|