Skip to content

Commit

Permalink
fix: update release.yml format (tkestack#1099)
Browse files Browse the repository at this point in the history
Co-authored-by: jiayongfei <[email protected]>
  • Loading branch information
JiaYongfei and jiayongfei committed Feb 23, 2021
1 parent 67615b6 commit 16f52f1
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,41 +16,41 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: azure/docker-login@v1
with:
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
with:
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Build release
run: |
(
cat <<EOF
{
"msgtype": "markdown",
"markdown": {
"content": "<font color=\"info\">${{ github.repository }}: Start build release.</font>\n
>version: <font color=\"comment\">$VERSION</font>"
}
run: |
(
cat <<EOF
{
"msgtype": "markdown",
"markdown": {
"content": "<font color=\"info\">${{ github.repository }}: Start build release.</font>\n
>version: <font color=\"comment\">$VERSION</font>"
}
EOF
) | curl '${{ secrets.WECHATWORK_WEBHOOK }}' \
-H 'Content-Type: application/json' \
-d @-
}
EOF
) | curl '${{ secrets.WECHATWORK_WEBHOOK }}' \
-H 'Content-Type: application/json' \
-d @-
make release.build && make release
make release.build && make release
(
cat <<EOF
{
"msgtype": "markdown",
"markdown": {
"content": "<font color=\"info\">${{ github.repository }}: Build release success.</font>\n
>version: <font color=\"comment\">$VERSION</font>
"
}
(
cat <<EOF
{
"msgtype": "markdown",
"markdown": {
"content": "<font color=\"info\">${{ github.repository }}: Build release success.</font>\n
>version: <font color=\"comment\">$VERSION</font>
"
}
EOF
) | curl '${{ secrets.WECHATWORK_WEBHOOK }}' \
-H 'Content-Type: application/json' \
-d @-
}
EOF
) | curl '${{ secrets.WECHATWORK_WEBHOOK }}' \
-H 'Content-Type: application/json' \
-d @-
installer:
name: installer test
Expand Down

0 comments on commit 16f52f1

Please sign in to comment.