Skip to content

Commit

Permalink
Update action
Browse files Browse the repository at this point in the history
  • Loading branch information
rongyi committed Feb 24, 2020
1 parent fdbcf19 commit 0e07d5f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
# git diff ${{ github.event.before }} ${{ github.sha }} cmd/normal/test.json | grep -v '^+++' |grep '^+' |sed -e 's/^+//' > test.json
git diff HEAD^1 HEAD cmd/normal/test.json | grep -v '^+++' |grep '^+' |sed -e 's/^+//' > test.json
output=`curl -vv -X POST -H 'Content-Type: application/json' -d @test.json http://47.52.153.57:62000/jsontest 2>&1 | grep 'HTTP/1.1 200 OK'`
output=`curl -vv -X POST -H 'Content-Type: application/json' -d @test.json http://47.52.153.57:62000/jsontest 2>&1 | grep 'HTTP/1.1 200'`
if [ -z "$output" ]
then
Expand Down Expand Up @@ -110,3 +110,8 @@ jobs:
# asset_path: ./normal
# asset_name: normal
# asset_content_type: application/octet-stream


- uses: hmarr/[email protected]
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 0e07d5f

Please sign in to comment.